details: https://code.openbravo.com/erp/devel/pi/rev/89fd05b465de
changeset: 14045:89fd05b465de
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Fri Oct 21 13:46:10 2011 +0200
summary: Related to issue 18601. Created variable to optimize code.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
| 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 859e341659a2 -r 89fd05b465de
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Fri Oct 21 13:38:24 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Fri Oct 21 13:46:10 2011 +0200
@@ -529,8 +529,9 @@
var d = data || {}, expProp = exportProperties || {}, dsURL =
this.dataSource.dataURL;
var sortCriteria;
var lcriteria = this.getCriteria();
- if(this.getData() && this.getData().dataSource){
- lcriteria = this.getData().dataSource.convertRelativeDates(lcriteria);
+ var gdata = this.getData();
+ if(gdata && gdata.dataSource){
+ lcriteria = gdata.dataSource.convertRelativeDates(lcriteria);
}
isc.addProperties(d, {
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits