[Libreoffice-commits] online.git: loleaflet/src

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 6 18:37:13 UTC 2019


 loleaflet/src/control/Control.JSDialogBuilder.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a184b2b812405a55a63bf7d5718963f519fb3c95
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Dec 6 18:54:26 2019 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Dec 6 19:36:56 2019 +0100

    This is not needed anymore.
    
    Change-Id: I61c1e8eada01491ccdf1a43e030ec8d7229d9680
    Reviewed-on: https://gerrit.libreoffice.org/84663
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 936b1480d..cde756651 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -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);


More information about the Libreoffice-commits mailing list