Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When updating from jquery_update 2.3 to 2.4 on my sites, all javascript fails due to $.ui.dialog.overlay.events being undefined.
Possibly related to https://drupal.org/node/1995892
Reverted my sites back to version 2.3 and all works again.
Using jQuery version 1.7
Comments
Comment #1
d.cochran CreditAttribution: d.cochran commentedComment #2
jschrab CreditAttribution: jschrab commentedI've had this happen too. I think the "Alternate jQuery version for administrative pages" setting was lost somehow and just used the default, which in my case was set to 1.7. Drupal 7 is set to work with jQuery 1.5 and has problems with newer versions.
Comment #3
d.cochran CreditAttribution: d.cochran commentedThis module issue affects the site as a whole. It breaks the admin theme and standard theme. I've tested in multiple browsers and it's broken in all.
My sites (4 of them) work fine with jquery_update 2.3 using 1.7 jQuery.
All 4 fail when I switch to jquery_update 2.4 using 1.7 jQuery.
Comment #4
kevindeleon CreditAttribution: kevindeleon commentedCan confirm this issue as well when upgrading from 2.3 to 2.4
To fix, in configuration I can set 1.10 as default and 1.5 as admin version and everything seems to work fine.
Comment #5
jackbravo CreditAttribution: jackbravo commentedTry disabling the aggregation of javascript files (on the menu admin->configuration->development->performance). That could help you pinpoint exactly on which file is the issue and it could be a specific module related issue like this one: #1995892: JS error: Cannot set property 'events' of undefined jquery.ui.dialog.patch.js:24 or this one #1892074: remove $.browser (Remove IE 6 support).
Feel free to re open if needed.
Comment #6
markhalliwell