PHP8
[Pman.BAdmin] / Pman.js
diff --git a/Pman.js b/Pman.js
index 2fa52ce..25daefc 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -30,6 +30,7 @@ Pman = new Roo.Document(
     
     buildCompleted : false, // flag to say if we are building interface..
     events : {
+        'beforeauth' : true, // fired after page ready, before authentication check
         'beforeload' : true, // fired after page ready, before module building.
         'load' : true, // fired after module building
         'authrefreshed' : true // fire on auth updated?? - should be on Login?!?!?
@@ -78,19 +79,7 @@ Pman = new Roo.Document(
             Roo.state.Manager.setProvider(new Roo.state.CookieProvider());
             Roo.bootstrap.Tooltip.init(); 
 
-             
-            // reset password!!!!
-            /*
-            if (showNewPass.length) {
-                Pman.PasswordChange.show(  { passwordReset : showNewPass },
-                    function(data) {
-                        // fail and success we do  a load...
-                        Pman.Login.onLoad();
-                    }
-                );
-                return;
-            }
-            */
+           
             Pman.Login.onLoad();
             
         },
@@ -184,7 +173,7 @@ Pman = new Roo.Document(
         
 
     }, 
-   genericDelete : function(tab,tbl) {
+    genericDelete : function(tab,tbl) {
         
         var r = [];