details: /erp/devel/pi/rev/08771d237d45
changeset: 10896:08771d237d45
user: Martin Taal <martin.taal <at> openbravo.com>
date: Mon Feb 28 09:44:37 2011 +0100
summary: Fix to aggressive confirm cancel edit action
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 1112abfc0af2 -r 08771d237d45
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
Mon Feb 28 09:36:44 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
Mon Feb 28 09:44:37 2011 +0100
@@ -1166,7 +1166,7 @@
var me = this, record = this.getRecord(rowNum);
if (!preventConfirm &&
- (record._new || this.getEditForm().valuesHaveChanged() ||
this.rowHasErrors(rowNum))) {
+ (record._new || this.getEditForm().hasChanged ||
this.rowHasErrors(rowNum))) {
isc.ask(OB.I18N.getLabel('OBUIAPP_ConfirmCancelEdit'), function(value){
if (value) {
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits