You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2004/05/26 12:33:54 UTC
svn commit: rev 20459 - avalon/trunk/central/system/themes/avalon2/html
Author: niclas
Date: Wed May 26 03:33:53 2004
New Revision: 20459
Modified:
avalon/trunk/central/system/themes/avalon2/html/transform.xsl
Log:
Bug in the selection alogrithm.
Modified: avalon/trunk/central/system/themes/avalon2/html/transform.xsl
==============================================================================
--- avalon/trunk/central/system/themes/avalon2/html/transform.xsl (original)
+++ avalon/trunk/central/system/themes/avalon2/html/transform.xsl Wed May 26 03:33:53 2004
@@ -150,7 +150,7 @@
<xsl:param name="class" select="'menuitem'" />
<a>
<xsl:choose>
- <xsl:when test="@selected = true() or contains( $file, @href )" >
+ <xsl:when test="@selected = true() or ( contains( $file, @href ) and local-name( ../.. ) = 'body' )" >
<xsl:attribute name="class"><xsl:value-of select="$class" />-selected</xsl:attribute>
</xsl:when>
<xsl:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org