Bug Tracker

Ticket #2507 (new bug)

Opened 9 months ago

Last modified 7 months ago

IE fix seems to kill firefox

Reported by: anitaviz Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.4 Component: event
Version: 1.2.3 Keywords: firefox hangs
Cc: Needs: Review

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

Change History

Changed 9 months ago by flesler

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

Changed 7 months ago by flesler

  • owner deleted
  • component changed from core to event

Related to #2586

Note: See TracTickets for help on using tickets.