[OpenLayers-Trac] Re: [OpenLayers] #2941: OpenLayers.Control.Navigation with documentDrag enabled removes all document events.

OpenLayers trac-20090302 at openlayers.org
Mon Dec 6 03:08:02 EST 2010


#2941: OpenLayers.Control.Navigation with documentDrag enabled removes all
document events.
--------------------------+-------------------------------------------------
 Reporter:  mgleahy       |       Owner:              
     Type:  bug           |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Handler.Drag  |     Version:  2.10        
 Keywords:                |       State:  Review      
--------------------------+-------------------------------------------------

Comment(by erilem):

 I'm a bit confused.

 At least in FF, {{{documentDrag}}} does not work in the current trunk
 (r10948), see http://www.openlayers.org/dev/examples/document-drag.html.
 This isn't a regression caused by [10873] but by [10871].

 But if I understand correctly, this particular ticket isn't about fixing
 {{{documentDrag}}}. It is about {{{Events:destroy}}} removing all event
 listeners for the element attached to the {{{Events}}} instance. Shouldn't
 we fix {{{Events:destroy}}} for that?

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2941#comment:9>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list