Ticket #6891 (closed defect: duplicate)

Opened 7 months ago

Last modified 7 months ago

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

Changed 7 months ago by bill

  • cc smith@… removed
  • owner changed from anonymous to jburke
  • reporter changed from guest to smith@genomequest.com
  • description modified (diff)
  • milestone set to 1.2

I expect this is already fixed by [13555].

Changed 7 months ago by jburke

  • status changed from new to closed
  • resolution set to duplicate

Yes, it should be fixed in [13555]. If the reporter wants to try a nightly build, they can confirm if they like: http://archive.dojotoolkit.org/nightly/

Marking this as a duplicate of #3242.

Note: See TracTickets for help on using tickets.