Roo/Login.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:09:45 +0000 (16:09 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:09:45 +0000 (16:09 +0800)
Roo/Login.js

index 0c05303..54d0575 100644 (file)
@@ -280,10 +280,10 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, {
         if (this.intervalID) { // timer already in place...
             return false;
         }
-        
+        var _this = this;
         this.intervalID =  window.setInterval(function() {
-                  Pman.Login.check(false);
-                }, 120000); // every 120 secs = 2mins..
+              _this.check(false);
+            }, 120000); // every 120 secs = 2mins..
         
         
     },