X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Request.js;h=82d18ff0c5c822661a5e750f5006af9ecdf557ad;hp=6cc82066321ad29df27039eed9450f5f36a4ad7b;hb=8cd2a9237c684aa16bc21e3ac6d3793c49c65400;hpb=eeef1500f9d39e1458cb41b4c4741aaa3529e11b diff --git a/Pman.Request.js b/Pman.Request.js index 6cc82066..82d18ff0 100644 --- a/Pman.Request.js +++ b/Pman.Request.js @@ -81,7 +81,7 @@ Roo.extend(Pman.Request, Roo.data.Connection, { } var res = this.processResponse(response); - if (!res.success) { // error! + if (!res.success && !res.done) { // error! if (options.failure) { // failure is handled... - do not show error.. Roo.callback(options.failure, options.scope, [res, options]); @@ -103,7 +103,7 @@ Roo.extend(Pman.Request, Roo.data.Connection, { if (this.mask && this.maskEl) { Roo.get(this.maskEl).unmask(true); } - if(!this.showFailtureDialog){ + if(!this.showFailureDialog){ return; } if (res !== true) { @@ -119,4 +119,4 @@ Roo.extend(Pman.Request, Roo.data.Connection, { } } -}); \ No newline at end of file +});