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.
Problem/Motivation
EI crashes when jQuery Update is used and the version is above 1.8. This is due to the .live method used in environment_indicator.js located in the indicatorSwitcher method.
Proposed resolution
Since the the event listened for in the code is a click event, and the click method has been part of jQuery since 1.0, switching the .live method calls to .click calls shouldn't be an issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | environment_indicator_jquery_update-2246621-1.patch | 1.56 KB | nielsonm |
Comments
Comment #1
nielsonm CreditAttribution: nielsonm commentedAdded a patch.
Comment #2
bocaj CreditAttribution: bocaj commentedWorked find in my tests!
Comment #3
e0ipsoMerged to 7.x-2.x-dev. Thanks for contributing!