[wp-trac] [WordPress Trac] #15147: jQuery 1.4.3 breaks Prototype 1.6.1
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 19 03:11:09 UTC 2010
#15147: jQuery 1.4.3 breaks Prototype 1.6.1
--------------------------+-------------------------------------------------
Reporter: neoxx | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: JavaScript | Version: 3.1
Severity: normal | Keywords: jquery, prototype, javascript
--------------------------+-------------------------------------------------
Hi,
According to my tests, the recent update of jQuery (#15135) breaks
Prototype if both libraries are included at the same time (which they are
if Prototype is used in the back-end, especially with the new admin bar).
Just try:
{{{
wp_enqueue_script('prototype');
wp_enqueue_script('jquery');
}}}
I get a ''element.dispatchEvent is not a function'' in Firebug which has
been fired from the call
{{{element.dispatchEvent(event);}}} in line 4619 of prototype.js.
Reverting to the jQuery 1.4.2 directory of WordPress 3.0.1 solves the
problem...
Can anybody confirm this?
Cheers,
Berny
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15147>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list