Pman.Tab.AdminLogEvents.js
},
{
"listeners" : {
- "|render" : "function (_self)\n{\n _this.tableSel = _self;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}",
+ "|render" : "function (_self)\n{\n _this.tableSel = _self;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n if(\n typeof(uiConfig) == 'undefined' || \n typeof(uiConfig.events_person_table) == 'undefined' || \n !uiConfig.events_person_table.length\n ){\n this.el.hide();\n }\n}",
"|select" : "function (combo, record, index)\n{\n _this.grid.footer.onClick('first');\n}"
},
"listWidth" : 300,
this.el.setVisibilityMode(Roo.Element.DISPLAY);
- this.el.hide();
+ if(
+ typeof(uiConfig) == 'undefined' ||
+ typeof(uiConfig.events_person_table) == 'undefined' ||
+ !uiConfig.events_person_table.length
+ ){
+ this.el.hide();
+ }
},
select : function (combo, record, index)
{