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.
Taken from the jQuery documentation:
As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().
Comment | File | Size | Author |
---|---|---|---|
#4 | 2821991-linkit-jquery-update-4.patch | 1.3 KB | mogtofu33 |
#2 | 2821991-linkit-jquery-update.patch | 1.32 KB | seutje |
719864-linkit-jquery_live_function-1.patch | 640 bytes | tim-diels |
Comments
Comment #2
seutje CreditAttribution: seutje commentedProposed patch doesn't properly delegate the events.
See attached patch, works with jQuery update.
Comment #3
anonThe bundles jQuery verison of Drupal 7.53 is jQuery 1.4.4.
.on()
where adding in jQuery 1.7 and we need to support the jquery version bundled with Drupal core as we don't have any dependecy for a jquery update.Comment #4
mogtofu33 CreditAttribution: mogtofu33 at Catalyst IT commentedFix patch path so can be used with drush make.
Comment #5
anonThis will be solved with #3024014: Update BAC - Better autocomplete