Pman.Dialog.XtupleVendorEdit.js
{
"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 if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \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"
},
"*prop": "grid",
"autoExpandColumn": "itemsrc_vend_item_descrip",
},
rowdblclick : function (_self, rowIndex, e)
{
- if (!_this.dialog) return;
- _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
+
+ Pman.Dialog.XtupleItem.show({ _id : this.getDataSource().getAt(rowIndex).data.itemsrc_item_id }, function() {
_this.grid.footer.onClick('first');
});
}