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

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

index 222f09c..e0b124f 100644 (file)
             },
             {
              "listeners" : {
-              "|render" : "function (_self)\n{\n    _this.tableSel = _self;\n  \n    this.hide();\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        Roo.log(this.getActionEl);\n        this.actionMode = 'fieldEl';\n        this.hideMode = 'display';\n        this.el.hide();\n    }\n    */\n}",
+              "|render" : "function (_self)\n{\n    _this.tableSel = _self;\n  \n    if(\n        typeof(uiConfig) == 'undefined' || \n        typeof(uiConfig.events_person_table) == 'undefined' || \n        !uiConfig.events_person_table.length\n    ){\n        this.hide();\n    }\n  \n}",
               "|select" : "function (combo, record, index)\n{\n  _this.grid.footer.onClick('first');\n}"
              },
              "listWidth" : 300,
index d51c340..60fb782 100644 (file)
@@ -399,20 +399,14 @@ Pman.Tab.AdminLogEvents = new Roo.XComponent({
             {
                 _this.tableSel = _self;
               
-                this.hide();
-                //this.el.setVisibilityMode(Roo.Element.DISPLAY);
-                /*
                 if(
                     typeof(uiConfig) == 'undefined' || 
                     typeof(uiConfig.events_person_table) == 'undefined' || 
                     !uiConfig.events_person_table.length
                 ){
-                    Roo.log(this.getActionEl);
-                    this.actionMode = 'fieldEl';
-                    this.hideMode = 'display';
-                    this.el.hide();
+                    this.hide();
                 }
-                */
+              
             },
            select : function (combo, record, index)
             {