details: /erp/devel/pi/rev/bbb89ed3377e
changeset: 10496:bbb89ed3377e
user: Martin Taal <martin.taal <at> openbravo.com>
date: Thu Feb 10 02:03:56 2011 +0100
summary: Prevent undefined error in refresh
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 3f43472db631 -r bbb89ed3377e
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
Thu Feb 10 01:54:25 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Thu Feb 10 02:03:56 2011 +0100
@@ -1156,7 +1156,9 @@
this.viewGrid.refreshGrid();
}
}
- refreshCallback();
+ if (refreshCallback) {
+ refreshCallback();
+ }
},
saveRow: function(){
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits