Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1071 closed bug (fixed)

this.$events is null

Reported by: offwhite Owned by:
Priority: critical Milestone: 1.1.3
Component: event Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:

Description

While using the ready event I am getting a null exception in MSIE 6.

The error is on line 1291.

var c = this.$events[event.type];

When I go into the Visual Studio debugger the watch shows all of the variables are defined so it does not explain why the error is being raised. I plan to check for null and return from the method to avoid the exception.

Change History (3)

comment:1 Changed 13 years ago by john

Can you provide some more details concerning this? Do you have a sample page that we can look at, where this occurs?

comment:2 Changed 13 years ago by m9x

I have the same problem and seems here is one guy who have found the solution: http://www.nabble.com/IE6-ASP.NET-error-from-document.onload:-'this.events'-is-null-t2356326.html

I experiencing this problem when testing page with jQuery from the HtmlUnit, page load when jQuery is present on the page.

comment:3 Changed 13 years ago by brandon

Resolution: fixed
Status: newclosed

With the move to DOM Level 2 event handlers conflicts with .Net events are now resolved. Fixed in the latest SVN which will soon be 1.1.3.

Note: See TracTickets for help on using tickets.