[OpenLayers-Trac] Re: [OpenLayers] #2834: Panel control: Allow to use "autoActivate" in the panel's controls.

OpenLayers trac-20090302 at openlayers.org
Mon Sep 20 19:00:21 EDT 2010


#2834: Panel control: Allow to use "autoActivate" in the panel's controls.
---------------------------+------------------------------------------------
 Reporter:  jorix          |       Owner:                 
     Type:  feature        |      Status:  new            
 Priority:  minor          |   Milestone:  2.11 Release   
Component:  Control.Panel  |     Version:  2.10           
 Keywords:                 |       State:  Needs More Work
---------------------------+------------------------------------------------

Comment(by jorix):

 Replying to [comment:2 ahocevar]:
 > Patch makes changes unrelated...
 I guessed that you referred to the changes in activate/deactivate (I tried
 to justify it in my comment:3) [[BR]]
 And also I thought, maybe, you meant to "{{{if (this.active !== True)
 {}}}":
  When panel is off, true is saved in "activeState" to activate the control
 when panel activated. Otherwise is not doing anything, and control is
 activated when it is added to map in "addControls". I wrote a comment in
 the code to highlight the importance of this "if".[[BR]]

 Help me to understand the problem, thanks.

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


More information about the Trac mailing list