From b8b614220ef9182e8ee73ee52971869846c2845f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 3 Feb 2014 23:41:22 +0000 Subject: [PATCH] Revert unneeded change from r45352. Fixes (hopefully) spacer rows staying when fetching more rows. --- etemplate/js/et2_dataview_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_dataview_controller.js b/etemplate/js/et2_dataview_controller.js index 9a7b90e6d8..b3aea5c70a 100644 --- a/etemplate/js/et2_dataview_controller.js +++ b/etemplate/js/et2_dataview_controller.js @@ -753,7 +753,7 @@ var et2_dataview_controller = Class.extend({ // Delete as many rows as we have left, invalidate the corresponding // index entry - for (var i = mapIdx; i < this._grid._map.length; i++) + for (var i = mapIdx; i < _idxMap.length; i++) { this._grid.deleteRow(i); if(typeof _idxMap[i] != 'undefined')