You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/07/29 03:33:37 UTC
svn commit: r426735 -
/forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
Author: thorsten
Date: Fri Jul 28 18:33:36 2006
New Revision: 426735
URL: http://svn.apache.org/viewvc?rev=426735&view=rev
Log:
FOR-209 First level selected tab is not highlighted when containing 2nd level tabs
Adding test for the child to highlied the first level tab.
Modified:
forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
Modified: forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl?rev=426735&r1=426734&r2=426735&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl Fri Jul 28 18:33:36 2006
@@ -178,6 +178,9 @@
<xsl:when test="not(@id) and @dir = $longest-dir or @href = $longest-dir">
<xsl:call-template name="selected"/>
</xsl:when>
+ <xsl:when test="tab[@id = $matching-id]">
+ <xsl:call-template name="selected"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:call-template name="not-selected"/>
</xsl:otherwise>