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

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

index ed3b285..c14aaad 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}",
-                                "|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"
+                                "|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}"
                             },
                             "*prop": "grid",
                             "autoExpandColumn": "itemsrc_vend_item_descrip",
index 33477e8..dca472a 100644 (file)
@@ -836,13 +836,6 @@ Pman.Dialog.XtupleVendorEdit = {
                                 if (_this.spanel.active) {
                                    this.footer.onClick('first');
                                 }
-                            },
-                            rowdblclick : function (_self, rowIndex, e)
-                            {
-                               
-                               Pman.Dialog.XtupleItem.show({ item_id  : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {
-                                    _this.grid.footer.onClick('first');
-                                }); 
                             }
                         },
                         autoExpandColumn : 'itemsrc_vend_item_descrip',