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.
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 )) {
// ...
}
Comment | File | Size | Author |
---|---|---|---|
#2 | 2877234 - lang_dropdown.patch | 794 bytes | Bram Esposito |
Comments
Comment #2
Bram Esposito CreditAttribution: Bram Esposito as a volunteer commentedAnd the patch
Comment #3
Zsuffa Dávid CreditAttribution: Zsuffa Dávid commentedPatch works for me. thx
By the way the same change is needed for LANGDROPDOWN_CHOSEN around line 390.
Comment #4
Samvel CreditAttribution: Samvel at DrupalJedi commentedComment #5
Samvel CreditAttribution: Samvel at DrupalJedi commentedLooks like these changes implemented in other issues (present in code)