overview map control destroys drag handler too late, r=ahocevar (closes #2383)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9902 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2009-12-17 08:23:38 +00:00
parent f54fd67504
commit 321a237d2f
2 changed files with 47 additions and 1 deletions

View File

@@ -144,6 +144,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
return;
}
this.handlers.click.destroy();
this.handlers.drag.destroy();
this.mapDiv.removeChild(this.extentRectangle);
this.extentRectangle = null;