Opened 13 years ago

Closed 13 years ago

#9563 closed task (fixed)

Dialog: stacks calls to focus() on dialog hide

Reported by: bill Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:


Apparently every time that you open then close a dialog, it calls


and never disconnects... which means that after showing a dialog multiple times and then closing it, focus will be sent to many places on the screen (though ending up at the correct place).

Not sure if there's an actual bug here (maybe just that things slow down), but I want to fix the design problem.

Change History (1)

comment:1 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

(In [18869]) Fix bug where every time a Dialog was hidden it would create a new conect, thus calling focus n times (where n is the number of times the dialog was previously hidden). Fixes #9563.

Note: See TracTickets for help on using tickets.