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.
New version out, nice to have it in the module.
Thanks for the effort
Comment | File | Size | Author |
---|---|---|---|
#6 | jquery_update-add-jquery-2_2_4-and-3_1_1-2649142.patch | 1.31 MB | amme |
#4 | jquery_update_to_2_2_4_AND_jquery_migrate_1_4_1.patch | 655.57 KB | Rene Bakx |
Comments
Comment #2
MustangGB CreditAttribution: MustangGB commentedComment #3
MustangGB CreditAttribution: MustangGB commentedComment #4
Rene BakxThe attached patcj adds jQuery 2.2.4 and the option to select between jQuery migrate 1.2.1 and 1.4.1.
Patch is rather large because it adds new versions of jQuery, personally would have prefered it to submit a pull request for patches this size :)
The update to 3.x is not in this patch because we (at the office) did not test if sites are actually working with jQuery 3.x.
Comment #5
amme CreditAttribution: amme commentedComment #6
amme CreditAttribution: amme commentedNew patch contain jquery 2.2.4 and 3.1.1
Comment #7
amme CreditAttribution: amme commentedComment #8
jim_at_miramontes CreditAttribution: jim_at_miramontes as a volunteer commentedI also need a serious jquery update, and have been trying this, and am a little confused here -- Do I need to install both patches #4 and #6 to get a jQuery 3.1 installation? I've installed (just) #6, and am having some problems with .once() not being found (e.g., `TypeError: $context.find('input.autocomplete').once is not a function. (In '$context.find('input.autocomplete').once', '$context.find('input.autocomplete').once' is undefined)`. Thoughts?
Comment #9
jim_at_miramontes CreditAttribution: jim_at_miramontes as a volunteer commentedUpdate: That call to `$context.find` is coming from the bootstrap version of misc/autocomplete.js, btw.
Comment #10
amme CreditAttribution: amme commented@jim_at_miramontes thanks for feedback
Drupal core do not fully compatible with jQuery 3.1
There is issue Incompability with jQuery 3.1
There are might be more issues...
unfortunately i could not reproduce your issues with 'jquery.once'
Comment #11
jim_at_miramontes CreditAttribution: jim_at_miramontes as a volunteer commentedThanks for the pointer! The problem I described above was my own fault :( -- one too many external library files getting loaded -- bur I'll check out your link/patch. In the meantime, will I be OK If I just have installed patch #6 (and dealt with the other issues you mentioned), or do I need to install patch 4 as well?
Comment #12
amme CreditAttribution: amme commented@jim_at_miramontes Patch #6 should be enougth
Comment #13
amme CreditAttribution: amme commentedThere is patchjQuery Migrate update for adding jquery_migrate 3.0.0 which should help to resolve some incompatibility issues with jQuery 3.1
Comment #15
markhalliwell