Opened 13 years ago

Closed 13 years ago

#1865 closed defect (fixed)

showTaskPane is called multiple times when switching maps

Reported by: sparkliu Owned by:
Priority: low Milestone:
Component: General Version:
Severity: trivial Keywords:
Cc: External ID:

Description

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.

Attachments (1)

Fix 1865.patch (3.6 KB ) - added by sparkliu 13 years ago.
Fix patch

Download all attachments as: .zip

Change History (2)

by sparkliu, 13 years ago

Attachment: Fix 1865.patch added

Fix patch

comment:1 by sparkliu, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.