Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2507 closed bug (fixed)

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.

Change History (3)

comment:1 Changed 12 years ago by flesler

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

comment:2 Changed 12 years ago by flesler

Component: coreevent

Related to #2586

comment:3 Changed 11 years ago by dmethvin

Resolution: fixed
Status: newclosed

Fixed at [5758]

Note: See TracTickets for help on using tickets.