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

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

index 4ddde2a..9c28700 100644 (file)
                                                     "$ xns" : "Roo.Toolbar"
                                                 },
                                                 {
+                                                    "listeners" : {
+                                                        "render" : "function (_self)\n{\n    _this.searchBox = this;\n}"
+                                                    },
                                                     "String name" : "search",
                                                     "xtype" : "TextField",
                                                     "String fieldLabel" : "Search",
index 60a22b8..a140202 100644 (file)
@@ -521,7 +521,13 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
                                         name : 'search',
                                         xtype : 'TextField',
                                         fieldLabel : 'Search',
-                                        xns : Roo.form
+                                        xns : Roo.form,
+                                        listeners : {
+                                               render : function (_self)
+                                                  {
+                                                      _this.searchBox = this;
+                                                  }
+                                        }
                                     },
                                        {
                                         '|xns' : 'Roo.Toolbar',