Hello,

I just checked a bit and found that our instance of DSpace 1.8.2 XMLUI Mirage 
is using jQuery 1.6.2 which is, well, not current.

I found this to be dependent on either the theme in use and the version of 
jQuery shipped with the DSpace sources.

While the standard Kubrick theme seems to even stick with jQuery 1.2, Mirage 
theme references the version to use in lib/xsl/core/page-structure.xsl, line 
613 explicitly. This is true for the current version of DSpace, 3.x as well:

<https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl>

    <xsl:template name="addJavascript">
        <xsl:variable name="jqueryVersion">
            <xsl:text>1.6.2</xsl:text>
        </xsl:variable>

I guess the actual file used is taken from 
dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/static/js/.

My question here is, would it be safe to drop at least version 1.6.4 
<http://code.jquery.com/jquery-1.6.4.min.js> into this directory and change the 
version number in page-structure.xsl, then recompile? Or is such a change prone 
to break a lot stuff?

Would it be feasable to do a big leap and switch to jQuery 1.9? Or are there 
reasons not to even take care of jQuery versions at all?

Thanks, Christian


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to