projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd2652
)
Roo/Login.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 07:28:31 +0000
(15:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 07:28:31 +0000
(15:28 +0800)
Roo/Login.js
patch
|
blob
|
history
diff --git
a/Roo/Login.js
b/Roo/Login.js
index
12ca2cb
..
4c66bf2
100644
(file)
--- a/
Roo/Login.js
+++ b/
Roo/Login.js
@@
-156,6
+156,7
@@
Roo.extend(Roo.Login, Roo.LayoutDialog, {
{
window.onbeforeunload = function() { }; // false does not work for IE..
this.user = false;
+ var _this = this;
Roo.Ajax.request({
url: this.url,
@@
-170,10
+171,10
@@
Roo.extend(Roo.Login, Roo.LayoutDialog, {
},
success : function() {
-
Pman.Login.authUserId = -1
;
-
Pman.Login
.checkFails =0;
- //
remove the
- document.location =
baseURL
+ '?ts=' + Math.random();
+
_this.user = false
;
+
this
.checkFails =0;
+ //
fixme..
+ document.location =
document.location.toString()
+ '?ts=' + Math.random();
}