Spent an hour trying to work out why this didn't work. Not very happy with the solution.

If you set the Site default JQ to v1.4, all core themes work. There's several of them, I see no reason to set that otherwise.

If you set ONE theme (ie bootstrap) to use an overridden value of 1.9, you get this when you save:

jQuery Update is not enabled, Bootstrap requires a minimum jQuery version of 1.7 or higher.
Please enable jQuery Update module 7.x-2.3 or higher, you must manually set this in the configuration after it is installed.

BUT JQU *is* enabled! And it's JQ value is set to 1.9! But it doesn't work!

So basically, the theme ignores the override setting in favour of the default setting - so what's the point of the override at all?!

If you want to get this to work, you have to set the *site default* to 1.9+ and then the others to retrograde version numbers.

That's really not very good.

Also that error message is very bad, but I see there is an issue for that already, I'll go complain about fix that there.

Comments

NikLP created an issue. See original summary.

markhalliwell’s picture

Title: Evil oversight in assumption of "defaults" » jQuery Update warning shows even if set to >1.9
Version: 7.x-3.1-beta2 » 7.x-3.x-dev
Component: User interface » Code
Related issues: +#2025333: Show notice on settings page if not jQuery 1.7+
  1. "Evil", really?? This is rather insulting. We're human and volunteers, mistakes happen. This doesn't make us or the project "evil"... especially considering when it's generally just a handful of individuals that actually work on the code.
  2. This project does not "override" anything from jQuery Update
  3. This project simply displays a warning (which can also be suppressed in the advanced tab BTW) only on the settings page, no where else.
  4. This project hasn't been fully tested with the 7.x-3.x branch of jQuery Update, thank you for the heads up.
  5. Any fix for this project will likely only involve updating the verbiage and version comparison logic.
  6. Any fix for overriding jQuery versions will likely be in the jquery_update project.
NikLP’s picture

Ah. Ok let me backtrack here; I think I meant to put this error report under JQU. Sorry :(

isalmanhaider’s picture

@NikLP

do the following things
1)after enabling jquery_update clear cache
2)disable jquery CDN
3) change jquery version for admin theme to 1.5
while keep default to 1.10 or 1.9

if it still conflicts, ping me over skype at brainless-intelligent and we will sort it out what's exactly WRONG ...

markhalliwell’s picture

Title: jQuery Update warning shows even if set to >1.9 » jQuery Update warning shows even if theme specific version is set to >=1.9

  • markcarver committed ef26ca0 on 7.x-3.x
    Issue #2574103 by NikLP: jQuery Update warning shows even if theme...
markhalliwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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