details: /erp/devel/pi/rev/de45cdfa1629
changeset: 12091:de45cdfa1629
user: Martin Taal <martin.taal <at> openbravo.com>
date: Wed May 11 10:20:00 2011 +0200
summary: Fixes issue 17093: Quick insert does not open in insert mode for
some windows
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
| 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 83a328da038f -r de45cdfa1629
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
Wed May 11 10:08:26 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
Wed May 11 10:20:00 2011 +0200
@@ -536,8 +536,9 @@
this.selectionUpdated();
}
- // no data and the grid is not visible
- if (this.data && this.data.getLength() === 0 && !this.isVisible()) {
+ // no data and the grid is not visible, only do this is if the
+ // form is not in new mode
+ if (this.data && this.data.getLength() === 0 && !this.isVisible() &&
!this.view.viewForm.isNew) {
this.makeVisible();
}
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits