Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Under admin/reports/status module shows warning while using jQuery 1.11. (for Nivo Slider jQuery version)
I guess the check in nivo_slider.module
at line 37 evaluates to false since the value of $library['version']
is actually smaller than 1.7.
if (($library = drupal_get_library('system', 'jquery')) && $library['version'] >= 1.7) {
Changing this part to
if (($library = drupal_get_library('system', 'jquery')) && (($library['version'] >= 1.7) || ($library['version'] <= 1.4))) {
solves the problem, but I think a more sophisticated solution should be applied.
Comment | File | Size | Author |
---|---|---|---|
#3 | Problem_with_jQuery_version_check-2254225-3.patch | 661 bytes | shyam kumar kunkala |
Comments
Comment #1
raveendrab CreditAttribution: raveendrab commentedI have to set the version to 1.10.
Comment #2
shyam kumar kunkala CreditAttribution: shyam kumar kunkala commentedI am working on this issue..
Comment #3
shyam kumar kunkala CreditAttribution: shyam kumar kunkala commentedFixed the issue. Please review the attached patch.
Comment #4
Hemanth Kumar Kunkala CreditAttribution: Hemanth Kumar Kunkala commentedI tested the patch. The issue is fixed and code is good.
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedThanks for the patch and review!
Committed to Nivo Slider 7.x-1.x.
Comment #7
shyam kumar kunkala CreditAttribution: shyam kumar kunkala commented