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

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

index e2f5bcd..ed3b285 100644 (file)
                     "items": [
                         {
                             "listeners": {
-                                "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
+                                "|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}",
                                 "|rowdblclick": "function (_self, rowIndex, e)\n{\n   \n   Pman.Dialog.XtupleItem.show({ item_id  : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
                             },
                             "*prop": "grid",
index ba727c7..33477e8 100644 (file)
@@ -831,9 +831,9 @@ Pman.Dialog.XtupleVendorEdit = {
                         listeners : {
                             render : function() 
                             {
-                                _this.grid = this; 
+                                _this.sgrid = this; 
                                 //_this.dialog = Pman.Dialog.FILL_IN
-                                if (_this.panel.active) {
+                                if (_this.spanel.active) {
                                    this.footer.onClick('first');
                                 }
                             },