From 51ba799ed0eab03f87139a9a8c826eedd0a42c80 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 22 Mar 2012 23:15:38 +0000 Subject: [PATCH] Keep looking for row data until next row is missing --- etemplate/js/et2_widget_grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_grid.js b/etemplate/js/et2_widget_grid.js index 1858fbd3e0..722ea4a3fe 100644 --- a/etemplate/js/et2_widget_grid.js +++ b/etemplate/js/et2_widget_grid.js @@ -178,7 +178,7 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM], { var content = this.getArrayMgr("content"); var rowDataEntry = rowData[rowData.length-1]; // Find out if we have any content rows, and how many - for(var key in content.data) + while(true) { if(content.data[rowIndex]) {