Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing issue with current class not being set correctly #360

  • Loading branch information...
commit 909f5f6b49e332348c3b7c7c8844d774fcff9466 1 parent 06214eb
@mattlevine mattlevine authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  requirements/mura/content/contentRenderer.cfc
View
3  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>
Please sign in to comment.
Something went wrong with that request. Please try again.