Pman.Dialog.XtupleVendorEdit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:09 +0000 (13:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:09 +0000 (13:12 +0800)
Pman.Dialog.XtupleVendorEdit.js

Pman.Dialog.XtupleVendorEdit.bjs
Pman.Dialog.XtupleVendorEdit.js

index f34e2e8..450a448 100644 (file)
                                     "|xns": "Roo",
                                     "items": [
                                         {
-                                            "|xns": "Roo.form",
-                                            "xtype": "TextField"
+                                            "listeners": {
+                                                "render": "function (_self)\n{\n    _this.searchBox = _self;\n}"
+                                            },
+                                            "xtype": "TextField",
+                                            "|xns": "Roo.form"
                                         },
                                         {
                                             "|xns": "Roo.Toolbar",
index c9d3adc..d305f04 100644 (file)
@@ -645,7 +645,13 @@ Pman.Dialog.XtupleVendorEdit = {
                             items : [
                                 {
                                     xtype: 'TextField',
-                                    xns: Roo.form
+                                    xns: Roo.form,
+                                    listeners : {
+                                        render : function (_self)
+                                        {
+                                            _this.searchBox = _self;
+                                        }
+                                    }
                                 },
                                 {
                                     xtype: 'Fill',