This commit is contained in:
Jeena Paradies 2012-11-13 22:03:21 +01:00
parent b482c546a4
commit 7d59588601

View file

@ -74,16 +74,17 @@ function(Core, Paths, HostApp, URI) {
var http_method = "GET";
var callback = function(resp) {
those.reload_blocked = false;
try {
var json = JSON.parse(resp.responseText)
those.newStatus(json);
} catch (e) {
//alert(resp.responseText);
alert(url + " JSON parse error");
throw e;
}
those.newStatus(json);
those.reload_blocked = false;
}
var data = null;