[Commits] r1738 - in trunk/openlayers/lib/OpenLayers: . Tile

commits at openlayers.org commits at openlayers.org
Thu Oct 26 11:22:38 EDT 2006


Author: tschaub
Date: 2006-10-26 11:22:37 -0400 (Thu, 26 Oct 2006)
New Revision: 1738

Modified:
   trunk/openlayers/lib/OpenLayers/Tile.js
   trunk/openlayers/lib/OpenLayers/Tile/WFS.js
Log:
Apply patch for #376 - fixing tile.clear() calls that were mistakenly replaced with OpenLayers.Util.clearArray() at r1590

Modified: trunk/openlayers/lib/OpenLayers/Tile/WFS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Tile/WFS.js	2006-10-25 23:05:23 UTC (rev 1737)
+++ trunk/openlayers/lib/OpenLayers/Tile/WFS.js	2006-10-26 15:22:37 UTC (rev 1738)
@@ -58,7 +58,7 @@
      */
     draw:function() {
         if (this.drawn) {
-            OpenLayers.Util.clearArray(this);
+            this.clear();
         }
         OpenLayers.Tile.prototype.draw.apply(this, arguments);
         if (this.layer.displayOutsideMaxExtent || (this.layer.maxExtent && 
@@ -131,3 +131,4 @@
   }
 );
 
+

Modified: trunk/openlayers/lib/OpenLayers/Tile.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Tile.js	2006-10-25 23:05:23 UTC (rev 1737)
+++ trunk/openlayers/lib/OpenLayers/Tile.js	2006-10-26 15:22:37 UTC (rev 1738)
@@ -83,7 +83,7 @@
             redraw = true;
         }
 
-        OpenLayers.Util.clearArray(this);
+        this.clear();
         this.bounds = bounds.clone();
         this.position = position.clone();
         if (redraw) {
@@ -121,3 +121,4 @@
     CLASS_NAME: "OpenLayers.Tile"
 };
 
+



More information about the Commits mailing list