Admin Layout - loop through jsFullAppendList uses the wrong src base

Description

File in question - HTMLBodyEnd.cfm

1 2 3 4 5 <cfloop list="#event.getValue( "jsAppendList", "", true )#" index="js"> <script type="application/javascript" src="#prc.cbroot#/includes/js/#js#.js"></script> </cfloop> <cfloop list="#event.getValue( "jsFullAppendList", "", true )#" index="js"> <script type="application/javascript" src="#prc.cbroot#/includes/js/#js#.js"></script> </cfloop>

The jsFullAppendList should be the full path, not based inside the includes folder like the jsAppendList.

1 2 3 <cfloop list="#event.getValue( "jsFullAppendList", "", true )#" index="js"> <script type="application/javascript" src="#js#.js"></script> </cfloop>

This will make it match the corresponding CSS file in

1 2 3 4 5 6 <cfloop list="#event.getValue( "cssAppendList", "", true )#" index="css"> <cfset addAsset( "#prc.cbroot#/includes/css/#css#.css" )> </cfloop> <cfloop list="#event.getValue( "cssFullAppendList", "", true )#" index="css"> <cfset addAsset( "#css#.css" )> </cfloop>

Status

Assignee

Gavin Pickin

Reporter

Gavin Pickin

Labels

None

Components

Fix versions

Affects versions

3.0.0

Priority

Major
Configure