Add upload-folder icon

This commit is contained in:
ClemDee
2019-07-17 12:15:14 +02:00
parent 1bb47e28ef
commit 3884ccb7f3
3 changed files with 6 additions and 5 deletions

View File

@@ -773,6 +773,7 @@ define([
var icon = AppConfig.applicationsIcon[type];
var font = icon.indexOf('cptools') === 0 ? 'cptools' : 'fa';
if (type === 'fileupload') { type = 'file'; }
if (type === 'folderupload') { type = 'file'; }
var appClass = ' cp-icon cp-icon-color-'+type;
$icon = $('<span>', {'class': font + ' ' + icon + appClass});
}