tweaks to js with variable"
@@ -599,7 +599,7 @@ function bindFileBrowserItemEvents() {
var fileAggType = [];
// main-file is available on the aggregation folder and only single file aggregations have a data-pk of 1 on the file
if ($(event.target).closest("li").attr("main-file") || $(event.target).closest("li").attr("data-pk") === "1"){
- var fileAggType = $(event.target).closest("li").find("span.fb-logical-file-type").attr("data-logical-file-type");
+ fileAggType = $(event.target).closest("li").find("span.fb-logical-file-type").attr("data-logical-file-type");
}
var fileName = $(event.target).closest("li").find("span.fb-file-name").text();
var fileExtension = fileName.substr(fileName.lastIndexOf("."), fileName.length);
