projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86b323
)
Pman.Request.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 10 May 2012 02:03:56 +0000
(10:03 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 10 May 2012 02:03:56 +0000
(10:03 +0800)
Pman.Request.js
patch
|
blob
|
history
diff --git
a/Pman.Request.js
b/Pman.Request.js
index
2a5102f
..
9dec80d
100644
(file)
--- 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");