I have jQuery 1.10 on my setup, which is obviously more recent than 1.7.

Still the code checking for the version fails:

((float) variable_get('jquery_update_jquery_version', '1.5') < 1.7)

The seperate version numbers should be checked:

$versionnbrs = explode(".",variable_get('jquery_update_jquery_version', '1.5'));
if (!($versionnbrs[0] >= 1 && $versionnbrs[1] >= 5 )) {
// ...
}
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Bram Esposito created an issue. See original summary.

Bram Esposito’s picture

Zsuffa Dávid’s picture

Patch works for me. thx

By the way the same change is needed for LANGDROPDOWN_CHOSEN around line 390.

Samvel’s picture

Status: Active » Needs review
Samvel’s picture

Status: Needs review » Closed (outdated)

Looks like these changes implemented in other issues (present in code)