Hi everybody!

Before creating the issue I've read the disclaimer about:

#2102211: Default to the latest version of jQuery changed the default version from 1.5 to the latest available jQuery version, in the case of 7.x-2.4: 1.10.

but this seem not to be my case..

I had jquery_update 7.x-2.3 with default jQuery version set to 1.7 on configuration page and everything worked fine.

To be more exact: I use an Image field for a content type with "Media file selector" widget (this has implemented thanks to 'media' module, branch 7.x-1.x). When I create a new node of that content type a button "Select media" appears. Clicking this button a modal window with two tabs appears and I can either upload a new file or select one from Media library. This works fine with jquery_update 7.x-2.3.

Another feature that worked fine with jquery_update 7.x-2.3 is jQuery UI tabs - I use shortcodes to integrate this functionality to the site pages.

Then I upgraded jquery_update to 7.x-2.6 (I also tried 7.x-2.4, 7.x-2.5, 7.x-3.0-alpha2). I left the default jQuery version set to 1.7. And this update broke functionality of selecting media from media library ('Library' tab does not display media files). Setting default version to 1.5 helped me - media library selector worked fine.

Well, but setting jQuery version to 1.5 break jQuery UI tabs functionality..

To sum up:

  • jquery_update 7.x-2.3 (default jQuery 1.7) works well with both 'media' module and [tabs][/tabs] shortcodes, but jquery_update 7.x-2.6 (default jQuery 1.7) breaks 'media' module features,
  • jquery_update 7.x-2.3 (default jQuery 1.5) works well with 'media' module but breaks [tabs][/tabs] shortcodes; jquery_update 7.x-2.6 (default jQuery 1.5) works well with 'media' module and breaks [tabs][/tabs] shortcodes too.

Thus it looks like a jquery_update issue and it's quite important to me because I forced to stay with 7.x-2.3 while there are security updates for this module.

Thank you,
Alexander

Comments

Chewits’s picture

Issue summary: View changes
Chewits’s picture

Could someone confirm that this is a jquery_update bug? or it's only my issue?
In a nutshell, once again: I can use Media module ("Media file selector" widget for fields) with jquery_update-7.x-2.3 but it doesn't work with 7.x-2.4 and above..
jquery_update_jquery_version is set to 1.7 in both cases.

Chewits’s picture

I've found a solution.
The reason was the incompatibility of JQueryUI 1.10 and Media 7.x-1.5 (by the way it would be nice to have an opportunity to set version of jQuery UI in control panel). This was fixed some time ago in media-7.x-1.x-dev.

https://www.drupal.org/node/1947438#comment-8156797
https://www.drupal.org/node/2089697

Thus, this issue may be closed.

markhalliwell’s picture

Status: Active » Closed (outdated)