projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e63d65
)
Pman.Login.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 14:16:04 +0000
(22:16 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 14:16:04 +0000
(22:16 +0800)
Pman.Login.js
patch
|
blob
|
history
diff --git
a/Pman.Login.js
b/Pman.Login.js
index
4adb8e0
..
caa822f
100644
(file)
--- a/
Pman.Login.js
+++ b/
Pman.Login.js
@@
-450,6
+450,9
@@
Pman.Login = new Roo.util.Observable({
if (this.disabled) {
return;
}
if (this.disabled) {
return;
}
+
+
+
this.callback = cb; // used for non-pman usage..
modal = modal || false;
if (Pman.Login.authUserId < 0) { // logout!?
this.callback = cb; // used for non-pman usage..
modal = modal || false;
if (Pman.Login.authUserId < 0) { // logout!?
@@
-480,7
+483,10
@@
Pman.Login = new Roo.util.Observable({
this.dialog.show();
this.dialog.el.unmask();
this.resizeToLogo.defer(1000,this);
this.dialog.show();
this.dialog.el.unmask();
this.resizeToLogo.defer(1000,this);
-
+ if (!Roo.state.Manager.getProvider().expires) {
+ Roo.state.Manager.setProvider(new Roo.state.CookieProvider());
+ }
+
this.form.setValues({
'username' : Roo.state.Manager.get('Pman.Login.username.'+appNameShort, ''),
this.form.setValues({
'username' : Roo.state.Manager.get('Pman.Login.username.'+appNameShort, ''),