New version out, nice to have it in the module.

Thanks for the effort

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PeterMK85 created an issue. See original summary.

MustangGB’s picture

Title: Please add JQuery 2.2 » Add jQuery 2.2
Version: 7.x-3.0-alpha3 » 7.x-3.x-dev
Priority: Minor » Normal
MustangGB’s picture

Title: Add jQuery 2.2 » Add jQuery 2.2 and 3.0
Rene Bakx’s picture

The 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.

amme’s picture

Status: Active » Needs review
amme’s picture

New patch contain jquery 2.2.4 and 3.1.1

amme’s picture

jim_at_miramontes’s picture

I 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?

jim_at_miramontes’s picture

Update: That call to `$context.find` is coming from the bootstrap version of misc/autocomplete.js, btw.

amme’s picture

@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'

jim_at_miramontes’s picture

Thanks 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?

amme’s picture

@jim_at_miramontes Patch #6 should be enougth

amme’s picture

There is patchjQuery Migrate update for adding jquery_migrate 3.0.0 which should help to resolve some incompatibility issues with jQuery 3.1

  • markcarver committed 408d737 on 7.x-3.x
    Issue #2649142 by amme, Rene Bakx, PeterMK85: Add jQuery 2.2 and 3.0
    
markhalliwell’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.