Pman.js
authorEdward <edward@roojs.com>
Wed, 21 Jan 2015 04:30:56 +0000 (12:30 +0800)
committerEdward <edward@roojs.com>
Wed, 21 Jan 2015 04:30:56 +0000 (12:30 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 0ff25d3..5a7c6bb 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -780,10 +780,11 @@ Pman = new Roo.Document(
         // global supplied by master.html
         appDisabled = typeof(appDisabled) == 'undefined' ? [] : appDisabled;
         
-        if(obj.parent && obj.parent == 'Pman.Tab.Admin')
-        Roo.log('disable!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
-        
-        Roo.log(obj);
+        if(obj.parent && obj.parent == 'Pman.Tab.Admin'){
+            Roo.log('disable!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
+
+            Roo.log(obj);
+        }
         /// design flaw
         // previously we did not a good naming policy for module and parts
         // most things that are called module here, really are 'parts'