projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e71061
)
Pman.Request.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Oct 2010 11:09:53 +0000
(19:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Oct 2010 11:09:53 +0000
(19:09 +0800)
Pman.Request.js
patch
|
blob
|
history
diff --git
a/Pman.Request.js
b/Pman.Request.js
index
c4eb5e5
..
343eb94
100644
(file)
--- a/
Pman.Request.js
+++ b/
Pman.Request.js
@@
-103,9
+103,9
@@
Roo.extend(Pman.Request, Roo.data.Connection, {
}
if (res !== true) {
var decode = this.processResponse(response);
-
Roo.log(decode);
+ Roo.log(decode);
Roo.MessageBox.hide(); // hide any existing messages..
- Roo.MessageBox.alert("Error",
"Error Sending: " + decode.errorMsg
);
+ Roo.MessageBox.alert("Error",
decode && decode.errorMsg ? decode.errorMsg : "Error Sending data"
);
}
}
});
\ No newline at end of file