From 77da7967abe731e8662bd56d835369ca7b76fdd0 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 27 Mar 2007 22:12:28 +0000 Subject: [PATCH] apply patch for #566 - bug in grid.destroy() git-svn-id: http://svn.openlayers.org/trunk/openlayers@2905 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 5cc262f270..3e583cfa5f 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -378,8 +378,8 @@ OpenLayers.Layer.Grid.prototype = for(var iCol=0; iCol < row.length; iCol++) { row[iCol].destroy(); } - this.grid = []; } + this.grid = []; } },