Bug Tracker

Modify

Ticket #6828 (closed bug: invalid)

Opened 3 years ago

Last modified 15 months ago

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:

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

Or:

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

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

comment:2 Changed 3 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.