Pman.Dialog.XtupleVendorEdit.bjs
authorEdward <edward@roojs.com>
Wed, 15 Jan 2014 05:35:19 +0000 (13:35 +0800)
committerEdward <edward@roojs.com>
Wed, 15 Jan 2014 05:35:19 +0000 (13:35 +0800)
Pman.Dialog.XtupleVendorEdit.js

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

index 56402d1..e2f5bcd 100644 (file)
                 },
                 {
                     "listeners": {
-                        "|activate": "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
+                        "|activate": "function() {\n    _this.apanel = this;\n    if (_this.agrid) {\n        _this.agrid.footer.onClick('first');\n    }\n}"
                     },
                     "background": true,
                     "fitContainer": true,
index 6a45780..ba727c7 100644 (file)
@@ -813,9 +813,9 @@ Pman.Dialog.XtupleVendorEdit = {
                     xns: Roo,
                     listeners : {
                         activate : function() {
-                            _this.panel = this;
-                            if (_this.grid) {
-                                _this.grid.footer.onClick('first');
+                            _this.apanel = this;
+                            if (_this.agrid) {
+                                _this.agrid.footer.onClick('first');
                             }
                         }
                     },