Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#1185 closed bug (fixed)

jQuery is not defined

Reported by: jf.hovinne Owned by:
Priority: major Milestone: 1.1.3
Component: event Version: 1.1.2
Keywords: wymeditor, event Cc: [email protected]
Blocked by: Blocking:


Working on WYMeditor, using latest revision (r1905), I get 'jQuery is not defined' exception, in jQuery.event at line:

jQuery.event.handle.apply(element, arguments);

The bug is not easily reproducible, though I guess it occurs when e.g. the users mouses over buttons (in WYMeditor's interface) while WYMeditor initializes.

I've found out that replacing above code by:

if(jQuery) jQuery.event.handle.apply(element, arguments);

seems to fix the issue.

Test page available at (fix is already included): http://dev.wymeditor.org/wymeditor/trunk/src/advanced.html

Source code available at: svn://svn.wymeditor.org/wymeditor

Attachments (1)

jquery.event.diff (1.4 KB) - added by brandon 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 16 years ago by jf.hovinne

Oops, sorry, the proposed fix doesn't work - the exception gets fired.

comment:2 Changed 16 years ago by john

Component: coreevent
need: ReviewPatch

This is the same issue that I was helping the Prototype guys with the other day; only occurs in Firefox. We need to move our type/object checks from event.handle() into the new $handle method:.

Changed 16 years ago by brandon

Attachment: jquery.event.diff added

comment:3 Changed 16 years ago by brandon

Resolution: fixed
Status: newclosed

This is fixed in Rev [2012].

Note: See TracTickets for help on using tickets.