[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 24 14:15:56 UTC 2020
loleaflet/src/control/Control.JSDialogBuilder.js | 1 -
1 file changed, 1 deletion(-)
New commits:
commit b72146bfaca36b05ca12672582380abc55a4ebde
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Aug 24 14:40:43 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Aug 24 16:15:38 2020 +0200
Revert "Remove parameters from uno commands when creating image names."
This reverts commit 73227645c0d62d69c59aa0bb552ccdc906064b82.
Reason for revert: <INSERT REASONING HERE>
Change-Id: Iad24abbe8f84b4624d729801b925b80da4478120
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101160
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index d4737b021..d0bb67244 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -1606,7 +1606,6 @@ L.Control.JSDialogBuilder = L.Control.extend({
var prefixLength = '.uno:'.length;
if (name.substr(0, prefixLength) == '.uno:')
cleanName = name.substr(prefixLength);
- cleanName = cleanName.replace(/\?.*$/,''); // remove potential parameters
cleanName = encodeURIComponent(cleanName).replace(/\%/g, '');
return L.LOUtil.getImageURL('lc_' + cleanName.toLowerCase() + '.svg');
},
More information about the Libreoffice-commits
mailing list