Pman.Tab.XtupleCurrency.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 Pman.Dialog.XtupleCurrency.show({curr_id : 0}, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
+ "|rowdblclick": "function (_self, rowIndex, e)\n{\n Pman.Dialog.XtupleCurrency.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
},
"*prop": "grid",
"autoExpandColumn": "curr_name",
},
rowdblclick : function (_self, rowIndex, e)
{
- Pman.Dialog.XtupleCurrency.show({curr_id : 0}, function() {
+ Pman.Dialog.XtupleCurrency.show( this.getDataSource().getAt(rowIndex).data, function() {
_this.grid.footer.onClick('first');
});
}