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

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

index 41bf7ae..4e168af 100644 (file)
             },
             {
              "listeners" : {
-              "|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        Roo.log(this.getActionEl);\n        this.actionMode = 'el';\n        this.hideMode = 'display';\n        this.hide();\n    }\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        Roo.log(this.getActionEl);\n        this.actionMode = 'fieldEl';\n        this.hideMode = 'display';\n        this.el.hide();\n    }\n}",
               "|select" : "function (combo, record, index)\n{\n  _this.grid.footer.onClick('first');\n}"
              },
              "listWidth" : 300,
index 355e92b..3d2c6f2 100644 (file)
@@ -409,9 +409,9 @@ Pman.Tab.AdminLogEvents = new Roo.XComponent({
                     !uiConfig.events_person_table.length
                 ){
                     Roo.log(this.getActionEl);
-                    this.actionMode = 'el';
+                    this.actionMode = 'fieldEl';
                     this.hideMode = 'display';
-                    this.hide();
+                    this.el.hide();
                 }
             },
            select : function (combo, record, index)