Skip to main content

Bug Tracker

Side navigation

#2507 closed bug (fixed)

Opened March 14, 2008 09:32AM UTC

Closed January 18, 2009 01:42AM UTC

IE fix seems to kill firefox

Reported by: anitaviz Owned by:
Priority: major Milestone: 1.2.4
Component: event Version: 1.2.3
Keywords: firefox hangs Cc:
Blocked by: Blocking:
Description

I have a large page (selects with several thousands of options loaded with xmlhttprequests)

I had some problems with this page because everytime it was unloaded firefox would hang(not responing, no window repainting, etc) for 10-20 seconds.

And sometimes come up with the alert for javascript running to loong.

I tracked the problem to this:

Prevent memory leaks in IE

And prevent errors on refresh with events like mouseover in other browsers

// Window isn't included so as not to unbind existing unload events

jQuery(window).bind("unload", function() {

jQuery("*").add(document).unbind();

});

When uncommenting theses lines everything started running smoothly.

Attachments (0)
Change History (3)

Changed March 17, 2008 10:28PM UTC by flesler comment:1

You can't just make everyone happy, huh :)

Changed May 11, 2008 10:22PM UTC by flesler comment:2

component: coreevent

Related to #2586

Changed January 18, 2009 01:42AM UTC by dmethvin comment:3

resolution: → fixed
status: newclosed

Fixed at [5758]