projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e517cca
)
Pman.Dialog.Image.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Nov 2010 05:27:15 +0000
(13:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Nov 2010 05:27:15 +0000
(13:27 +0800)
Pman.Dialog.Image.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.Image.js
b/Pman.Dialog.Image.js
index
3aeee25
..
506d11e
100644
(file)
--- a/
Pman.Dialog.Image.js
+++ b/
Pman.Dialog.Image.js
@@
-147,7
+147,11
@@
Pman.Dialog.Image = {
if (act.type == 'submit') {
Roo.log(act);
- Ext.MessageBox.alert("Error", "Saving failed = fix errors and try again");
+ try {
+ Ext.MessageBox.alert("Error", act.errMessage);
+ } catch(e) {
+ Ext.MessageBox.alert("Error", "Saving failed = fix errors and try again");
+ }
return;
}