[OpenLayers-Commits] r2069 - sandbox/vector/lib/OpenLayers/Control/EditingTool
commits at openlayers.org
commits at openlayers.org
Fri Dec 15 10:42:28 EST 2006
Author: crschmidt
Date: 2006-12-15 10:42:27 -0500 (Fri, 15 Dec 2006)
New Revision: 2069
Modified:
sandbox/vector/lib/OpenLayers/Control/EditingTool/DrawLineString.js
Log:
Prototypeism -> OL ism
Modified: sandbox/vector/lib/OpenLayers/Control/EditingTool/DrawLineString.js
===================================================================
--- sandbox/vector/lib/OpenLayers/Control/EditingTool/DrawLineString.js 2006-12-15 15:39:42 UTC (rev 2068)
+++ sandbox/vector/lib/OpenLayers/Control/EditingTool/DrawLineString.js 2006-12-15 15:42:27 UTC (rev 2069)
@@ -112,7 +112,7 @@
if(this.geometry.path.length > 1){
this.finalizeGeometry();
}
- this.geometry.path.clear();
+ OpenLayers.Util.clearArray(this.geometry.path);
break;
case OpenLayers.Event.KEY_BACKSPACE:
case OpenLayers.Event.KEY_DELETE:
More information about the Commits
mailing list