no alert on network error 0, doesn't help anyone
This commit is contained in:
parent
c76c791201
commit
284a0ebebe
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue