From: Alan Knowles Date: Thu, 10 May 2012 02:03:56 +0000 (+0800) Subject: Pman.Request.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=5d285eca3b8cd3eea08d449b55b6b0be5a0b5c4d Pman.Request.js --- diff --git a/Pman.Request.js b/Pman.Request.js index 2a5102f4..9dec80d3 100644 --- a/Pman.Request.js +++ b/Pman.Request.js @@ -81,9 +81,8 @@ Roo.extend(Pman.Request, Roo.data.Connection, { if (!res.success) { // error! if (options.failure) { // failure is handled... - do not show error.. - if (true === Roo.callback(options.failure, options.scope, [res, options])) { - return; - } + Roo.callback(options.failure, options.scope, [res, options]); + return; } Roo.MessageBox.hide(); // hide any existing messages.. Roo.MessageBox.alert("Error", res && res.errorMsg ? res.errorMsg : "Error Sending data");