From: edward Date: Tue, 3 May 2016 06:58:31 +0000 (+0800) Subject: Pman.Request.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=6e3597de36dff7f4cb6db81cff771ef27409c6d6 Pman.Request.js --- diff --git a/Pman.Request.js b/Pman.Request.js index 070ed757..841e8326 100644 --- a/Pman.Request.js +++ b/Pman.Request.js @@ -103,14 +103,13 @@ Roo.extend(Pman.Request, Roo.data.Connection, { if (this.mask && this.maskEl) { Roo.get(this.maskEl).unmask(true); } + if(!this.showFailtureDialog){ + return; + } if (res !== true) { var decode = this.processResponse(response); Roo.log(decode); - if(!this.showFailtureDialog){ - return; - } - if (Roo.MessageBox.isVisible()) { alert(decode && decode.errorMsg ? decode.errorMsg : "Error Sending data - return true from failure to remove message"); return;