details: https://code.openbravo.com/erp/devel/pi/rev/8b85b058240c
changeset: 20168:8b85b058240c
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Mon Apr 22 16:58:39 2013 +0530
summary: Related to Issue 0020587 : Code Refactoring
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
| 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r d322cce147e5 -r 8b85b058240c
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
Mon Apr 22 16:13:01 2013 +0530
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
Mon Apr 22 16:58:39 2013 +0530
@@ -63,7 +63,8 @@
grid = view.grid.viewGrid;
fields = grid.getFields();
selection = grid.getSelectedRecords() || [];
- len = selection.length, allRows = grid.data.allRows ||
grid.data.localData || grid.data;
+ len = selection.length;
+ allRows = grid.data.allRows || grid.data.localData || grid.data;
for (i = 0; i < len; i++) {
record = grid.getEditedRecord(grid.getRecordIndex(selection[i]));
for (j = 0; j < fields.length; j++) {
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits