Pman.Tab.AdminLogEvents.bjs
authorEdward <edward@roojs.com>
Thu, 30 Apr 2015 05:17:37 +0000 (13:17 +0800)
committerEdward <edward@roojs.com>
Thu, 30 Apr 2015 05:17:37 +0000 (13:17 +0800)
Pman.Tab.AdminLogEvents.js

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

index 5eac346..4a2ae94 100644 (file)
@@ -73,6 +73,9 @@
        "tableName" : "Events",
        "items" : [
         {
+         "listeners" : {
+          "render" : "function (grid)\n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}"
+         },
          "autoExpandColumn" : "remarks",
          "xtype" : "Grid",
          "loadMask" : true,
index a6ffd89..1a25aa8 100644 (file)
@@ -1326,6 +1326,16 @@ Pman.Tab.AdminLogEvents = new Roo.XComponent({
           xtype : 'ColumnModel'
          }
        ],
+       listeners : {
+        render : function (grid)
+         {
+             _this.grid = this; 
+             //_this.dialog = Pman.Dialog.FILL_IN
+             if (_this.panel.active) {
+                this.footer.onClick('first');
+             }
+         }
+       },
        items : [
 
        ]