Pman.Tab.AdminLogEvents.js
},
{
"listeners" : {
- "|render" : "function (_self)\n{\n _this.affectSel = _self;\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,
listeners : {
render : function (_self)
{
- _this.affectSel = _self;
+ _this.affectSel = _self;
+
+ if(!Pman.hasPerm('Admin.Logs_Affects', 'S')){
+ this.hide();
+ }
},
select : function (combo, record, index)
{