Posted by jessebeach on April 25, 2012 at 10:33pm
10 followers
| Project: | jQuery Update |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | jessebeach |
| Status: | needs review |
Issue Summary
To aid site builders in upgrading a site from the current jQuery version in D7 (1.4.4) to a newer jQuery version, the jquery_update module should provide the default version as an option in the version selector dropdown. Given this option, developers can back off to the default jQuery version if errors are encountered on the site without disabling the jquery_update module itself.
Comments
#1
This patch introduces jQuery 1.4.4 as an option.
I also fixed a small inconsistency. jQuery 1.5 was listed as 1.5.2, but the version included is really 1.5.1.
#2
Instead of providing another jQuery 1.4.4 in replace/jquery/1.4/jquery.js as the patch in #1 does I would prefere to just use the default jQuery lib provided by Drupal. Patch attached, which just disables the replacing mechanisms of jQuery Update and hides the compression/CDN options in the settings form.