[OpenLayers-Trac] Re: [OpenLayers] #2864: cannot destroy a map with panels

OpenLayers trac-20090302 at openlayers.org
Thu Oct 7 12:01:49 EDT 2010


#2864: cannot destroy a map with panels
----------------------+-----------------------------------------------------
 Reporter:  erilem    |       Owner:              
     Type:  bug       |      Status:  new         
 Priority:  critical  |   Milestone:  2.11 Release
Component:  general   |     Version:  2.10        
 Keywords:            |       State:  Commit      
----------------------+-----------------------------------------------------

Comment(by jorix):

 there is another reason, the test:
 {{{
 control.activate();
 control.destroy();
 t.eq(control.deactivate(), false, "control destroyed can not be
 deactivated.");
 }}}
 fails.

 ----

 And I think it would be nice if
 {{{
 t.eq(control.activate(), false, "control destroyed can not be
 activated.");
 }}}
 did not cause an error, as now, but this would be another patch.

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


More information about the Trac mailing list