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

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

index 6ea4611..be08e9c 100644 (file)
                         {
                             "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}",
-                                "|rowdblclick": "function (_self, rowIndex, e)\n{\n   \n   Pman.Dialog.XtupleItem.show({ _id : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {\n        _this.grid.footer.onClick('first');\n    }); \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",
                             "autoExpandColumn": "itemsrc_vend_item_descrip",
index e207f7f..3f04d30 100644 (file)
@@ -517,7 +517,7 @@ Pman.Dialog.XtupleVendorEdit = {
                             rowdblclick : function (_self, rowIndex, e)
                             {
                                
-                               Pman.Dialog.XtupleItem.show({ _id : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {
+                               Pman.Dialog.XtupleItem.show({ item_id  : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {
                                     _this.grid.footer.onClick('first');
                                 }); 
                             }