All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
DSpace 1.7.0 ships with a hardcoded http:// link for JQuery. While awaiting the implementation of this fix in an upcoming release, you can solve by in the following file: lib/core/page-structure.xsl, in the add javascript addJavascript template. In this file, you will need to replace
Code Block |
---|
<!-- Grab Google CDN jQuery. fall back to local if necessary. Also use same http / https as site --> <script<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> |
with
Code Block |
---|
<script type="text/javascript"> var <xsl:text disable-output-escaping="yes">var JsHost = (("https:" == document.location.protocol) ? "https://" : "http://"); document document.write(unescape("%3Cscript src='" + JsHost + "ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); </script> xsl:text> <script>!window.jQuery && document.write('<script src="/dspace/static/js/jquery-1.4.2.min.js"><\/script>')</script> </script> |
Thanks Peter Dietz for providing this fix.