details: https://code.openbravo.com/erp/devel/pi/rev/67c0f9be4dff
changeset: 16069:67c0f9be4dff
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Thu Apr 12 16:14:19 2012 +0200
summary: Fixes issue 20241: It is possible to move between records while
editing in grid.
In the changeset 2e1947ca8bbc, related to issue 19830, a change was done that
had a side effect that prevented the user from beign able to move between
records while editing the grid when the records were modified.
This change has been reverted and it does not have any consequence in issue
19830, because when the backout was done the issue was still not fixed.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a3138b899536 -r 67c0f9be4dff
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Thu Apr 12 16:07:37 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Thu Apr 12 16:14:19 2012 +0200
@@ -2034,7 +2034,7 @@
var nextEditCell = ((rowNum || rowNum === 0) && (colNum || colNum === 0) ?
this.getNextEditCell(rowNum, colNum, editCompletionEvent) : null);
var newRow = nextEditCell && nextEditCell[0] !== rowNum;
var enterKey = editCompletionEvent === 'enter';
- if (this.view.standardWindow.isAutoSaveEnabled() && !enterKey &&
!autoSaveDone && newRow && (editForm.hasChanged || editForm.isNew)) {
+ if (!this.view.standardWindow.isAutoSaveEnabled() && !enterKey &&
!autoSaveDone && newRow && (editForm.hasChanged || editForm.isNew)) {
var actionObject = {
target: this,
method: this.cellEditEnd,
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits