Permalink
Browse files

FC-2887 Link target 'New window' is not working for simpleNav ; check…

… if the target value exists
  • Loading branch information...
kenbkoo committed Jul 14, 2014
1 parent 3b150ab commit 45d525607ba67e9ef18615db77c41be30be9597f
Showing with 1 addition and 1 deletion.
  1. +1 −1 tags/webskin/simpleNav.cfm
@@ -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]>

0 comments on commit 45d5256

Please sign in to comment.