Drupal's default jQuery doesn't get called when the CDN and jQuery options in the theme settings are left at their default values.
Here's the portion of template.php causing the issue:
else {
// If a CDN is not selected, but an updated version still wants to be used.
$js['misc/jquery.js']['data'] = "$path_to_theme/js/jquery-$version.min.js";
}
It doesn't check if the default jQuery is in play and automatically looks for the file in Aurora's folder.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | wrong-default-jquery.patch | 471 bytes | bxtaylor |
Comments
Comment #1
bxtaylor commentedAnd here's a patch...
Comment #2
iamcarrico commentedThe code shouldn't even be getting to that point. This is a truthyness error earlier on (line 425). Will investigate.
Comment #3
iamcarrico commentedAaaannndddd fixed.
Updated code in latest 7.x-2.x