Point Handler should not create feature if it is not active anymore, p=me,erilem r=ahocevar (closes #3172)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11701 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -284,7 +284,7 @@ OpenLayers.Handler.Point = OpenLayers.Class(OpenLayers.Handler, {
|
||||
if(cancel || !this.persist) {
|
||||
this.destroyFeature();
|
||||
}
|
||||
if(!noNew) {
|
||||
if(!noNew && this.active) {
|
||||
this.createFeature();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user