Problem/Motivation
============
Status report shows that Nivo Slider does not have the required jQuery version (>=1.7). However, jQuery 1.10.2 has been installed, and jQuery Update module has been configured accordingly.
Nivo Slider jQuery version jQuery 1.10.2
Nivo Slider requires jQuery 1.7 or greater. Configure jQuery Update.
Proposed Resolution
============
In nivo_slider.module, replace
36: // Check if the site is running >= jQuery 1.7
37: if (($library = drupal_get_library('system', 'jquery')) && $library['version'] >= 1.7) {
with
36: // Check if the site is running >= jQuery 1.7
37: if (($library = drupal_get_library('system', 'jquery')) && version_compare($library['version'], 1.7) >= 0) {
Remaining tasks
==========
The patch is ready for review.
Comment | File | Size | Author |
---|---|---|---|
nivo_slider.module.patch | 606 bytes | susukacang | |
Comments
Comment #2
susukacang CreditAttribution: susukacang as a volunteer commentedComment #3
kopanda CreditAttribution: kopanda as a volunteer commentedThe patch file works. Thanks!
Comment #4
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #6
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedCommited into dev branch. Thanks.
Comment #8
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented