details: https://code.openbravo.com/erp/devel/pi/rev/52e969309061
changeset: 17711:52e969309061
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Mon Aug 20 13:18:33 2012 +0200
summary: Fixes issue 20653: Fixed showInlineEditor in P&E grid
In the Pick and Execute windows, every time the focus moved to a grid cell a
call to the FIC was done to retrieve the initial values. This has to be done
only when the row of the new cell is different from the row of the previously
focused cell
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
| 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 2758093fde85 -r 52e969309061
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Mon Aug 20 13:15:32 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Mon Aug 20 13:18:33 2012 +0200
@@ -444,7 +444,11 @@
},
showInlineEditor: function (rowNum, colNum, newCell, newRow, suppressFocus) {
- this.retrieveInitialValues(rowNum, colNum, newCell, newRow, suppressFocus);
+ // retrieve the initial values only if a new row has been selected
+ // see issue https://issues.openbravo.com/view.php?id=20653
+ if (newRow) {
+ this.retrieveInitialValues(rowNum, colNum, newCell, newRow,
suppressFocus);
+ }
this.Super('showInlineEditor', arguments);
},
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits