Skip to content

Commit 45d5256

Browse files
committed
FC-2887 Link target 'New window' is not working for simpleNav ; check if the target value exists
1 parent 3b150ab commit 45d5256

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tags/webskin/simpleNav.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

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

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

0 commit comments

Comments
 (0)