Opened 3 years ago
Closed 3 years ago
#15147 closed defect (bug) (fixed)
jQuery 1.4.3 breaks Prototype 1.6.1
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | JavaScript | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| 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)
- Keywords has-patch added; jquery prototype javascript removed
- Milestone changed from Awaiting Review to 3.1
- Owner set to filosofo
- Status changed from new to assigned
comment:2
automattor — 3 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.

Patch should fix: missing no-conflict.