This is not needed anymore.
Change-Id: I61c1e8eada01491ccdf1a43e030ec8d7229d9680 Reviewed-on: https://gerrit.libreoffice.org/84663 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
parent
b36d56bf5b
commit
a184b2b812
1 changed files with 1 additions and 1 deletions
|
@ -1399,7 +1399,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
|
|||
|
||||
var icon = null;
|
||||
var commandName = data.command ? data.command.substring('.uno:'.length) : data.id;
|
||||
if (commandName && commandName.length && L.LOUtil.existsIconForCommand(commandName)) {
|
||||
if (commandName && commandName.length) {
|
||||
var iconSpan = L.DomUtil.create('span', 'menu-entry-icon ' + commandName.toLowerCase(), menuEntry);
|
||||
var iconPath = 'images/lc_' + commandName.toLowerCase() + '.svg';
|
||||
icon = L.DomUtil.create('img', '', iconSpan);
|
||||
|
|
Loading…
Reference in a new issue