Merge pull request #655 from TexasDigitalLibrary/mirage2-handle-fix

[DS-2191] Fixed bug where + wouldn't expand or collapse the hidden <div> for Mirage2 Community List
This commit is contained in:
Tim Donohue
2015-01-07 14:34:38 -06:00

View File

@@ -155,7 +155,7 @@
</xsl:call-template>
</xsl:variable>
<xsl:variable name="handle">
<xsl:variable name="handle_pre1">
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$handle_pre"/>
<xsl:with-param name="replace" select="'/mets.xml'"/>
@@ -163,9 +163,17 @@
</xsl:call-template>
</xsl:variable>
<xsl:variable name="handle">
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$handle_pre1"/>
<xsl:with-param name="replace" select="'/'"/>
<xsl:with-param name="by" select="'_'"/>
</xsl:call-template>
</xsl:variable>
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$handle"/>
<xsl:with-param name="replace" select="'/'"/>
<xsl:with-param name="replace" select="'.'"/>
<xsl:with-param name="by" select="'_'"/>
</xsl:call-template>
</xsl:template>