no alert on network error 0, doesn't help anyone

This commit is contained in:
jeena 2013-09-05 10:47:18 +02:00
parent c76c791201
commit 284a0ebebe

View file

@ -52,6 +52,7 @@ TinyTinyRSS.prototype.doOperation = function(operation, new_options, callback) {
if(callback)
callback(JSON.parse(xhr.responseText).content);
} else {
if(xhr.status != 0)
alert("error: " + xhr.status + " " + xhr.statusText);
if(callback)
callback(null);