Pman.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 3 Nov 2011 05:51:57 +0000 (13:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 3 Nov 2011 05:51:57 +0000 (13:51 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 98ccffa..f7ee0cc 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -812,7 +812,10 @@ Pman = new Roo.Document(
                 Roo.log(permname + " is Disabled for this user");
                 return;
             }
-            
+            if (appDisabled.indexOf(permname)) {
+                Roo.log(permname + " is Disabled for this site");
+                return;
+            }
             
             
         }