Pman.Tab.AdminLogEvents.bjs
authorEdward <edward@roojs.com>
Thu, 2 Apr 2015 07:47:48 +0000 (15:47 +0800)
committerEdward <edward@roojs.com>
Thu, 2 Apr 2015 07:47:48 +0000 (15:47 +0800)
Pman.Tab.AdminLogEvents.js

Pman.Tab.AdminLogEvents.bjs
Pman.Tab.AdminLogEvents.js

index 65cc289..cb5f4a1 100644 (file)
             },
             {
              "listeners" : {
-              "|render" : "function (_self)\n{\n    _this.affectSel = _self;\n  \n    if(!Pman.hasPerm('Admin.Logs_Affects', 'S')){\n        this.hide();\n    }\n}",
+              "|render" : "function (_self)\n{\n    _this.affectSel = _self;\n  \n    if(Pman.hasPerm('Admin.Logs_Affects', 'S')){\n        this.hide();\n    }\n}",
               "|select" : "function (combo, record, index)\n{\n  _this.grid.footer.onClick('first');\n}"
              },
              "listWidth" : 300,
index 0ed7e00..e307fca 100644 (file)
@@ -1187,7 +1187,7 @@ Pman.Tab.AdminLogEvents = new Roo.XComponent({
             {
                 _this.affectSel = _self;
               
-                if(!Pman.hasPerm('Admin.Logs_Affects', 'S')){
+                if(Pman.hasPerm('Admin.Logs_Affects', 'S')){
                     this.hide();
                 }
             },