forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r426735 - /forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
Date Sat, 29 Jul 2006 01:33:37 GMT
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>



Mime
View raw message