Ticket #6891 (closed defect: duplicate)
dojo.addOnUnload doesn't fire as expected in IE.
| Reported by: | smith@… | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | General | Version: | 1.1.1 |
| Severity: | normal | Keywords: | dojo.addOnUnload |
| Cc: |
Description (last modified by bill) (diff)
in the startup() of my dijit, I do
dojo.addOnload(this, method) dojo.addOnUnload(this, method);
the onloads work great. The onunload works great in Firefox. In IE, the onunload only fires when I explicitly hit "reload / refresh" (f5) and not when I use links to navigate on this page. I had to get around this by doing a dojo.connect in the main addOnload in the page, connecting window, onunload to my function. Any clues?
Change History
Note: See
TracTickets for help on using
tickets.