[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/src
Andras Timar
andras.timar at collabora.com
Fri Feb 9 14:22:55 UTC 2018
loleaflet/src/control/Control.AlertDialog.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 379453f5fbe20f4d280beb4511e07ef75bc69fdb
Author: Andras Timar <andras.timar at collabora.com>
Date: Fri Feb 9 15:16:08 2018 +0100
fix variable replacement in string
Change-Id: Id99f1e04c508678e0acfc040511e327910e04772
Reviewed-on: https://gerrit.libreoffice.org/49497
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.AlertDialog.js b/loleaflet/src/control/Control.AlertDialog.js
index f91fceae..1d9b9e48 100644
--- a/loleaflet/src/control/Control.AlertDialog.js
+++ b/loleaflet/src/control/Control.AlertDialog.js
@@ -26,8 +26,8 @@ L.Control.AlertDialog = L.Control.extend({
return;
} else if (e.cmd && e.kind) {
var msg = _('The server encountered a %0 error while parsing the %1 command.');
- msg.replace('%0', e.kind);
- msg.replace('%1', e.cmd);
+ msg = msg.replace('%0', e.kind);
+ msg = msg.replace('%1', e.cmd);
vex.dialog.alert(msg);
}
More information about the Libreoffice-commits
mailing list