[OpenLayers-Commits] r11228 - trunk/openlayers/tests/Control

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Feb 22 07:03:55 EST 2011


Author: bartvde
Date: 2011-02-22 04:03:55 -0800 (Tue, 22 Feb 2011)
New Revision: 11228

Modified:
   trunk/openlayers/tests/Control/PanZoomBar.html
Log:
fix up JS error in PanZoomBar testcase in IE, non-functional change

Modified: trunk/openlayers/tests/Control/PanZoomBar.html
===================================================================
--- trunk/openlayers/tests/Control/PanZoomBar.html	2011-02-22 11:44:36 UTC (rev 11227)
+++ trunk/openlayers/tests/Control/PanZoomBar.html	2011-02-22 12:03:55 UTC (rev 11228)
@@ -44,7 +44,7 @@
         control = new OpenLayers.Control.PanZoomBar();
         map.addControl(control);
         control.removeButtons();
-        control._removeZoomBar();
+        map.destroy();
         t.eq(control.div.childNodes.length, 0, "control's div cleared.");
         t.eq(control.zoombarDiv, null, "zoombar div nullified.")
     }



More information about the Commits mailing list