Opened 8 years ago
Closed 5 years ago
#15997 closed defect (patchwelcome)
Cross Frame event handling not working after frame refresh (IE8)
Reported by: | grijsje | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | Events | Version: | 1.7.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The scenario is reproducable with the attached test. The scenario goes as follows. There are two frames in a singel page.
- Frame B connects to a dom event in Frame A. (triggering the dom event will now invoke the handler)
- Now Frame B gets reloaded and connects to the same dom event again.
Now when the dom event is triggered again the event hanlder is no longer invoked.
We tried to disconnect before unloading but it does not help.
Ultimately the work around is to nullify the old event handler before creating a new one. i.e.
frame.document.onclick = null
We found the problem using dojo 1.7.0, however it is also reproducable with dojo 1.8.0.
Attachments (1)
Change History (3)
Changed 8 years ago by
comment:1 Changed 8 years ago by
Component: | General → Events |
---|---|
Owner: | set to Kris Zyp |
comment:2 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.