Permalink
Browse files

Fixing issue with current class not being set correctly #360

  • Loading branch information...
mattlevine committed Apr 28, 2012
1 parent 06214eb commit 909f5f6b49e332348c3b7c7c8844d774fcff9466
Showing with 1 addition and 2 deletions.
  1. +1 −2 requirements/mura/content/contentRenderer.cfc
@@ -1812,8 +1812,7 @@ version 2 without this exception. You may, if you choose, apply this exception
<cfset started=true>
<ul<cfif currDepth eq 1>#iif(arguments.id neq '',de(' id="#arguments.id#"'),de(''))##iif(arguments.menuClass neq '',de(' class="#arguments.menuClass#"'),de(''))#<cfelse><cfif len(arguments.ulNestedClass)> class="#arguments.ulNestedClass#"</cfif><cfif len(arguments.ulNestedCustomString)> #arguments.ulNestedCustomString#</cfif></cfif>>
- <li class="first<cfif event.getValue('contentBean').getcontentid() eq arguments.contentid> #arguments.liCurrentClass#</cfif>" id="navHome"<cfif len(arguments.liCurrentCustomString)> #arguments.liCurrentCustomString#</cfif>><a href="#homeLink#">#HTMLEditFormat(rsHome.menuTitle)#</a></li>
- <cfset itemClass=listRest(itemClass," ")/>
+ <li class="first<cfif event.getValue('contentBean').getcontentid() eq arguments.contentid> #arguments.liCurrentClass#</cfif>" id="navHome"<cfif len(arguments.liCurrentCustomString)> #arguments.liCurrentCustomString#</cfif>><a href="#homeLink#"<cfif len(arguments.aCurrentClass)> class="#arguments.aCurrentClass#"</cfif><cfif len(arguments.aCurrentCustomString)> #arguments.aCurrentCustomString#</cfif>>#HTMLEditFormat(rsHome.menuTitle)#</a></li>
</cfif>
<cfif not started>
<cfset started=true>

0 comments on commit 909f5f6

Please sign in to comment.