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.
You can't just make everyone happy, huh :)