[mapguide-trac] #1865: showTaskPane is called multiple times when switching maps

MapGuide Open Source trac_mapguide at osgeo.org
Tue Nov 22 21:55:12 EST 2011


#1865: showTaskPane is called multiple times when switching maps
------------------------+---------------------------------------------------
   Reporter:  sparkliu  |       Owner:     
       Type:  defect    |      Status:  new
   Priority:  low       |   Milestone:     
  Component:  General   |     Version:     
   Severity:  trivial   |    Keywords:     
External_id:            |  
------------------------+---------------------------------------------------
 showTaskPane will be called multiple times for loading a map after a map
 has been switching for several times.

 This is because index page register MAP_LOAD event to register
 TASK_PANE_LOADED event. After MAP_LOAD event is triggered several times,
 the same function is registered to TASK_PANE_LOADED event with exactly
 same number. This is not as expected. We just want showTaskPane be called
 once when TASK_PANE_LOADED is triggered for one time.

 We should remove the MAP_LOAD event registering after TASK_PANE_LOADED is
 registered.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1865>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list