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

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 8 16:03:08 UTC 2020


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

New commits:
commit 8b58ff8b248a73a1d00469d70c5cdc9a3ae08228
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Mon Jun 8 16:27:50 2020 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Jun 8 18:02:50 2020 +0200

    Proxy: remove double images/ in path.
    
    Change-Id: I0db7953501acf397e361a0483a999735bfce7557
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95842
    Tested-by: Michael Meeks <michael.meeks at collabora.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index debd6739a..8c8426c9e 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -567,7 +567,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
 		if (commandName && commandName.length && L.LOUtil.existsIconForCommand(commandName, builder.map.getDocType())) {
 			var iconName = builder._generateMenuIconName(commandName);
 			var iconSpan = L.DomUtil.create('span', 'menu-entry-icon ' + iconName, sectionTitle);
-			var iconURL = L.LOUtil.getImageURL('images/lc_' + iconName + '.svg');
+			var iconURL = L.LOUtil.getImageURL('lc_' + iconName + '.svg');
 			icon = L.DomUtil.create('img', '', iconSpan);
 			icon.src = iconURL;
 			icon.alt = '';


More information about the Libreoffice-commits mailing list