Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#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:
Blocked by: Blocking:

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:

handlers = ( jQuery.data(this, "events")
{} )[event.type];

Or:

var events = jQuery.data(this, "events"); if (events!=null) var handlers = events[ event.type ];

Change History (2)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

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

comment:2 Changed 9 years ago by gravious

The problem turned out to be an old version of Interface elements for jQuery. I've switched to the development version of jQuery UI.

Note: See TracTickets for help on using tickets.