this.fillAuth(res.data);
this.checkFails =0;
- Pman.onload();
+
+
+ if (Pman.onload) {
+ Pman.onload();
+ }
+ if (Pman.Login.callback) {
+ Pman.Login.callback();
+
+ }
return false;
},
//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.");
+ Roo.MessageBox.alert("Error",
+ act.result.errorMsg ? act.result.errorMsg :
+ "Login failed - communication error - try again."
+ );
},
actioncomplete: function(re, act) {
//Roo.get('loading').show();
Roo.get('loading-mask').show();
}
-
- Pman.onload();
-
+ if (Pman.onload) {
+ Pman.onload();
+ }
+ if (Pman.Login.callback) {
+ Pman.Login.callback();
+ }
}
}