From 6e3597de36dff7f4cb6db81cff771ef27409c6d6 Mon Sep 17 00:00:00 2001 From: edward Date: Tue, 3 May 2016 14:58:31 +0800 Subject: [PATCH] Pman.Request.js --- Pman.Request.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 2.39.2