[OpenLayers-Commits] r3578 - trunk/openlayers/lib/OpenLayers/Layer
commits at openlayers.org
commits at openlayers.org
Tue Jul 3 19:35:58 EDT 2007
Author: euzuro
Date: 2007-07-03 19:35:57 -0400 (Tue, 03 Jul 2007)
New Revision: 3578
Modified:
trunk/openlayers/lib/OpenLayers/Layer/Markers.js
Log:
fix for #799 - markers destroy no longer nullifies a global variable
Modified: trunk/openlayers/lib/OpenLayers/Layer/Markers.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Markers.js 2007-07-03 23:13:16 UTC (rev 3577)
+++ trunk/openlayers/lib/OpenLayers/Layer/Markers.js 2007-07-03 23:35:57 UTC (rev 3578)
@@ -55,7 +55,7 @@
*/
destroy: function() {
this.clearMarkers();
- markers = null;
+ this.markers = null;
OpenLayers.Layer.prototype.destroy.apply(this, arguments);
},
More information about the Commits
mailing list