Pman.Request.js
[Pman.Core] / Pman.Request.js
index 2a5102f..9dec80d 100644 (file)
@@ -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");