Pman.Dialog.XtupleVendorEdit.bjs
authorEdward <edward@roojs.com>
Wed, 15 Jan 2014 06:00:21 +0000 (14:00 +0800)
committerEdward <edward@roojs.com>
Wed, 15 Jan 2014 06:00:21 +0000 (14:00 +0800)
Pman.Dialog.XtupleVendorEdit.js

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

index 53b7fff..225401a 100644 (file)
                     "items": [
                         {
                             "listeners": {
-                                "|render": "function() \n{\n    _this.sgrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.spanel.active) {\n       this.footer.onClick('first');\n    }\n}"
+                                "|render": "function() \n{\n    _this.agrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.apanel.active) {\n       this.footer.onClick('first');\n    }\n}"
                             },
                             "*prop": "grid",
                             "autoExpandColumn": "vendaddr_code",
index 80e2c5d..873c408 100644 (file)
@@ -831,9 +831,9 @@ Pman.Dialog.XtupleVendorEdit = {
                         listeners : {
                             render : function() 
                             {
-                                _this.sgrid = this; 
+                                _this.agrid = this; 
                                 //_this.dialog = Pman.Dialog.FILL_IN
-                                if (_this.spanel.active) {
+                                if (_this.apanel.active) {
                                    this.footer.onClick('first');
                                 }
                             }