Pman.Tab.AdminEnum.bjs
authorMicheal <micheal@roojs.com>
Thu, 29 Jan 2015 08:15:07 +0000 (16:15 +0800)
committerMicheal <micheal@roojs.com>
Thu, 29 Jan 2015 08:15:07 +0000 (16:15 +0800)
Pman.Tab.AdminEnum.js

Pman.Tab.AdminEnum.bjs
Pman.Tab.AdminEnum.js

index 483ab06..c46295e 100644 (file)
                                                     "$ xns" : "Roo.form"
                                                 },
                                                 {
+                                                    "listeners" : {
+                                                        "click" : "function (_self, e)\n{\n    _this.grid.footer.onClick('first');\n}"
+                                                    },
                                                     "String cls" : "x-btn-icon",
                                                     "xtype" : "Button",
                                                     "$ xns" : "Roo.Toolbar",
index 4542d56..82c6073 100644 (file)
@@ -534,7 +534,13 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
                                         cls : 'x-btn-icon',
                                         xtype : 'Button',
                                         xns : Roo.Toolbar,
-                                        icon : rootURL + '/Pman/templates/images/search.gif'
+                                        icon : rootURL + '/Pman/templates/images/search.gif',
+                                        listeners : {
+                                               click : function (_self, e)
+                                                  {
+                                                      _this.grid.footer.onClick('first');
+                                                  }
+                                        }
                                     },
                                        {
                                         '|xns' : 'Roo.Toolbar',