removed all alerts

This commit is contained in:
Jeena Paradies 2012-11-18 02:38:47 +01:00
parent b138887371
commit b6c94f23de
5 changed files with 6 additions and 75 deletions

View file

@ -130,7 +130,7 @@ function(HostApp, Paths, Hmac) {
Paths.getURL(url, http_method, callback, requestBody, auth_header);
} else {
alert("State is not the same: {" + this.state + "} vs {" + urlVars["state"] + "}")
console.error("State is not the same: {" + this.state + "} vs {" + urlVars["state"] + "}")
}
this.state = null; // reset the state

View file

@ -81,8 +81,7 @@ function(Core, Paths, HostApp, URI) {
those.newStatus(json);
} catch (e) {
//alert(resp.responseText);
alert(url + " JSON parse error");
console.error(url + " JSON parse error");
throw e;
}
}