Modify ↓
Ticket #6828 (closed bug: invalid)
IE8 reports: 'null' is null or not an object (caused by indexing null as an array)
| Reported by: | gravious | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | 'null' is null or not an object | Cc: | |
| Blocking: | Blocked by: |
Description
IE8 reports: 'null' is null or not an object
On line 1919 of jquery-1.4.2.js:
var events = jQuery.data(this, "events"), handlers = events[ event.type ];
Line 2681 of jquery-1.3.2.js fixes the problem:
| {} )[event.type]; |
Or:
var events = jQuery.data(this, "events"); if (events!=null) var handlers = events[ event.type ];
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Please reopen with a test case demonstrating how this problem occurs.