Skip to main content

Bug Tracker

Side navigation

#1185 closed bug (fixed)

Opened May 14, 2007 03:46PM UTC

Closed May 31, 2007 04:16AM UTC

Last modified March 15, 2012 06:24PM UTC

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: jf.hovinne@wymeditor.org
Blocked by: Blocking:
Description

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)
Change History (3)

Changed May 14, 2007 03:55PM UTC by jf.hovinne comment:1

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

Changed May 14, 2007 08:10PM UTC by john comment:2

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 May 31, 2007 04:16AM UTC by brandon comment:3

resolution: → fixed
status: newclosed

This is fixed in Rev [2012].