Opened 13 years ago
Closed 13 years ago
#15147 closed defect (bug) (fixed)
jQuery 1.4.3 breaks Prototype 1.6.1
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | JavaScript | Keywords: | has-patch |
Focuses: | Cc: |
Description
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
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch should fix: missing no-conflict.