Opened 13 years ago
Closed 12 years ago
#6642 closed bug (duplicate)
"unload" browser event leads to an error in jquery 1.4.2 on IE7
Reported by: | andreakn | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | event | Version: | 1.4.2 |
Keywords: | event error unload | Cc: | |
Blocked by: | Blocking: |
Description
on line 1919 in the uncompressed jquery-1.4.2.js: I get a bug where events == undefined in IE7 (7.0.5730.13)
the same bug is present in the minified file jquery-1.4.2.min.js
a fix could be to change
var events = jQuery.data(this, "events"), handlers = events[event.type];
into
var events = jQuery.data(this, "events");
var handlers = null; if (events) {
handlers = events[event.type];
}
Change History (3)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Component: | unfiled → event |
---|---|
need: | Review → Test Case |
Resolution: | invalid |
Status: | closed → reopened |
comment:3 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
Dup of #4106 (fixed).
Note: See
TracTickets for help on using
tickets.
Please reopen the ticket with a test case demonstrating the bug.