Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#322 closed bug (fixed)

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

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 (5)

comment:1 Changed 13 years ago by pac

Priority: majorcritical

changing to critical

comment:2 Changed 13 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 13 years ago by pac

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

comment:4 Changed 13 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 13 years ago by brandon

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.