projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c253e5b
)
Pman.Login.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 14:08:30 +0000
(22:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 14:08:30 +0000
(22:08 +0800)
Pman.Login.js
patch
|
blob
|
history
diff --git
a/Pman.Login.js
b/Pman.Login.js
index
5834e9b
..
33571c2
100644
(file)
--- a/
Pman.Login.js
+++ b/
Pman.Login.js
@@
-301,10
+301,9
@@
Pman.Login = new Roo.util.Observable({
//act.result.errorMsg// invalid form element list...
Pman.Login.dialog.el.unmask();
- Roo.MessageBox.alert("Error",
- act.result.errorMsg ? act.result.errorMsg :
- "Login failed - communication error - try again."
- );
+ var msg = act.result.errorMsg || act.result.message;
+ msg = msg || "Login failed - communication error - try again.";
+ Roo.MessageBox.alert("Error", , msg);
},
actioncomplete: function(re, act) {