details: /erp/devel/pi/rev/dbbac5e58639
changeset: 12238:dbbac5e58639
user: Martin Taal <martin.taal <at> openbravo.com>
date: Wed May 18 18:44:35 2011 +0200
summary: Fixes issue 17181: Unsaveable and unmodified line remains visible
but is not stored
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r fe1228187a01 -r dbbac5e58639
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 18 18:39:37 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
Wed May 18 18:44:35 2011 +0200
@@ -1946,7 +1946,7 @@
var i;
for (i = 0; i < this.getSelectedRecords().length; i++) {
var record = this.getSelectedRecords()[i];
- if (!this.isWritable(record)) {
+ if (!this.isWritable(record) || record._new) {
return false;
}
}
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits