I'm developing a skin and wanted to test with a newer JQuery version than the installed default.
Action taken: Site Settings -> Advanced Settings -> JQuery Settings
Check use hosted jQuery URL, specified URLs as shown below:
http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js
Result - installed jquery still being used. It this just a syntax error on my part? I also tried without http: but the results were the same.
Also - a similar but different issue was noted. I'm pretty sure this is a bug.
Go to Site Settings -> Advanced Settings -> CDN Settings. Click Use javascript libraries CDN.
Result - Hosted urls for jquery 1.9.1, jquery.migrate 1.2.1 and jquery.ui 1.10.3 are present, but preceded by an inline script with a syntax error as shown:
<script>
if (typeof jQuery == 'undefined') {document.write('<script src='/Resources/libraries/jQuery/1.9.1/jquery.js' type='text/javascript'>}
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js?cdv=69" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js?cdv=69" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js?cdv=69" type="text/javascript"></script>
Is this a bug, or am I doing something wrong? Is there a way to specify a non-default jquery version other than overwriting the installed jquery files?
Thanks,
David