details: /erp/devel/pi/rev/dd5507447e6b
changeset: 12190:dd5507447e6b
user: Thirumalai Kandasami <thirumalai <at> qualian.in>
date: Thu May 05 13:37:59 2011 +0530
summary: Fixed Issue 16842:Possible to delete records in Read only window
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r bd3c611d6a4b -r dd5507447e6b
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Tue May 17 10:53:03 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Thu May 05 13:37:59 2011 +0530
@@ -1343,6 +1343,7 @@
},
deleteSelectedRows: function(autoSaveDone){
+ if (!this.readOnly) {
// first save what we have edited
if (!autoSaveDone) {
var actionObject = {
@@ -1428,6 +1429,7 @@
}
};
isc.ask(msg, callback);
+ }
},
newRow: function(rowNum) {
------------------------------------------------------------------------------
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