Pman.Dialog.XtupleCustomer.bjs
authorEdward <edward@roojs.com>
Tue, 10 Feb 2015 06:48:37 +0000 (14:48 +0800)
committerEdward <edward@roojs.com>
Tue, 10 Feb 2015 06:48:37 +0000 (14:48 +0800)
Pman.Dialog.XtupleCustomer.js

Pman.Dialog.XtupleCustomer.bjs
Pman.Dialog.XtupleCustomer.js

index dc1499a..6ff75d6 100644 (file)
                         {
                             "listeners" : {
                                 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n",
-                                "|render" : "function() \n{\n    _this.hgrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.hpanel.active) {\n       this.footer.onClick('first');\n    }\n}"
+                                "|render" : "function() \n{\n    _this.igrid = this; \n\n    if (_this.ipanel.active) {\n       this.footer.onClick('first');\n    }\n}"
                             },
                             "autoExpandColumn" : "item_descrip1",
                             "xtype" : "Grid",
index 27f59e3..d5e2f65 100644 (file)
@@ -2441,9 +2441,9 @@ Pman.Dialog.XtupleCustomer = {
                                   },
                                render : function() 
                                   {
-                                      _this.hgrid = this; 
-                                      //_this.dialog = Pman.Dialog.FILL_IN
-                                      if (_this.hpanel.active) {
+                                      _this.igrid = this; 
+                                  
+                                      if (_this.ipanel.active) {
                                          this.footer.onClick('first');
                                       }
                                   }