Pman.Login.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 26 Jul 2011 12:35:58 +0000 (20:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 26 Jul 2011 12:35:58 +0000 (20:35 +0800)
Pman.Login.js

index 9a84143..f7cd3f6 100644 (file)
@@ -433,11 +433,12 @@ Pman.Login =  new Roo.util.Observable({
     
      
     
-    show: function (modal) 
+    show: function (modal, cb
     {
         if (this.disabled) {
             return;
         }
+        this.callback = cb; // used for non-pman usage..
         modal = modal || false;
         if (Pman.Login.authUserId < 0) { // logout!?
             return;