Skip to content

Commit

Permalink
FC-2887 Link target 'New window' is not working for simpleNav ; check…
Browse files Browse the repository at this point in the history
… if the target value exists
  • Loading branch information
kenbkoo committed Jul 14, 2014
1 parent 3b150ab commit 45d5256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags/webskin/simpleNav.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

<!--- output opening item --->
<cfoutput><#attributes.itemTag#<cfif len(thisClass)> class="#thisClass#"</cfif>>#attributes.itemMarkupStart#</cfoutput>
<cfoutput><a href="#href#" <cfif qNav.target eq "_blank">target="#qNav.target#"</cfif>>#qNav.objectname#</a></cfoutput>
<cfoutput><a href="#href#" <cfif len(qNav.target)>target="#qNav.target#"</cfif>>#qNav.objectname#</a></cfoutput>

<!--- output closing nested tag for the last item --->
<cfif qNav.recordCount gt qNav.currentRow AND qNav.nlevel[qNav.currentRow+1] lt qNav.nlevel[qNav.currentRow]>
Expand Down

0 comments on commit 45d5256

Please sign in to comment.