When you have a polygon feature over a point feature in the same layer, and you

attempt to drag the point feature, you get errors about this.feature.geometry
being undefined. Fix this by not unsetting this.feature inside the
doneDragging.  (Closes #971)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-09-16 19:27:23 +00:00
parent 158bbd71d6
commit b2a4acb717
2 changed files with 24 additions and 1 deletions

View File

@@ -253,7 +253,6 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, {
*/
doneDragging: function(pixel) {
this.onComplete(this.feature, pixel);
this.feature = null;
},
/**