add icon to support ticket category dropdown

+ added an option to add "fa-angle-down" to any dropdown
pull/1/head
David Benqué 5 years ago
parent 64a092c630
commit 764da42d48

@ -2155,6 +2155,11 @@ define([
'class': 'fa fa-caret-down',
}).prependTo($button);
}
if (config.angleDown) {
$('<span>', {
'class': 'fa fa-angle-down',
}).prependTo($button);
}
// Menu
var $innerblock = $('<div>', {'class': 'cp-dropdown-content'});

@ -119,6 +119,7 @@ Messages.support_category = "Category"; // XXX
});
var dropdownCfg = {
text: Messages.support_category,
angleDown: 1,
options: categories,
container: $(container),
isSelect: true

Loading…
Cancel
Save