Bug Tracker

Modify

Ticket #1071 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

this.$events is null

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

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

comment:1 Changed 6 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 6 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 6 years ago by brandon

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

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.

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.