Bug Tracker

Modify

Ticket #322 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

‘null’ is null or not an object (1.0.3)

Reported by: pac Owned by:
Priority: critical Milestone: 1.0
Component: ajax Version: 1.0
Keywords: ajax null object Cc:
Blocking: Blocked by:

Description

First person to note that was Steve O, so i will post his description first:

* Steve O Says: October 28th, 2006 at 10:05 am

When I try to use 1.0.3, I get a javascript error because of the following line:

1015: event.target = event.srcElement;

The error I get (only in IE, which is consistent with the above since line 1015 is in the if (jQuery.browser.msie) block). The above line is not in 1.0.2, which works just fine for me.

The error IE complains about is: ‘null’ is null or not an object *

I've got that bug in IE, same line, and realized it was related to an $.ajax() call that i had implemented.

1.0.2 works fine for me too.

Change History

comment:1 Changed 7 years ago by pac

  • Priority changed from major to critical

changing to critical

comment:2 Changed 7 years ago by joern

Dunno why it occurs at an ajax call, but I guess checking if srcElement is available should help.

Which IE version are you using?

comment:3 Changed 7 years ago by pac

hi, i've tested it in IE 6 and 7, both got the same error.

comment:4 Changed 7 years ago by Steve O

Thanks for following up on this, pac. It was a call to $.ajax that seemed to trigger it for me, as well.

comment:5 Changed 7 years ago by brandon

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

This is fixed along with #186 in the latest SVN.

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.