Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11346 (closed defect: wontfix)

Opened 1 year ago

Last modified 1 year ago

Event createWrapper() method has error on handler.call(elemenet, event)

Reported by: wmas Assigned to: sam
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

All browsers OK.

Win IE6 is still complaining on this line: 3876 Event.extend(event); 3877 handler.call(element, event);

'Handler is empty or not an object'

Version used = 1.6.0.2

Any suggestion?

Change History

03/25/08 17:24:09 changed by kangax

Can you provide a simple testcase which gives such error? Thanks.

03/27/08 19:57:01 changed by jdalton

  • status changed from new to closed.
  • resolution set to worksforme.

Closed due to insufficient info. I have run prototype 1.6.0.2 on Win IE6 and IE7 with no initial errors.

The line number is now 3891 in as of revision 9101

Please re-open if you have more info.

04/15/08 02:37:08 changed by jdalton

  • status changed from closed to reopened.
  • resolution deleted.
  • severity changed from minor to normal.
  • summary changed from Handler is empty to Event createWrapper() method has error on handler.call(elemenet, event).

This error is now on all of the prototype lighthouse pages: http://prototype.lighthouseapp.com

handler has no properties
http://prototype.lighthouseapp.com/javascripts/core.js?1208221146
Line 3891

handler.call(element, event);

I am able to get the error in Firefox and IE everytime and Opera only 1 time.

04/15/08 04:42:51 changed by jdalton

  • status changed from reopened to closed.
  • resolution set to wontfix.

I believe this bug is caused by the use of LivePipe's Control classes on the page.

attachEvents: function(){
  Event.observe(window,'load',Control.Modal.load);
  Event.observe(window,'unload',Event.unloadCache,false);
},

In Prototype 1.6.0.2 Event.unloadCache is undefined so thats why handler has no properties