loleaflet/src/control/Control.Menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 577d4a50a2b19193b5eeb419ccaa3786294c5f8a Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Thu May 23 02:50:24 2019 +0200 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Thu May 23 11:59:02 2019 +0200 Display correct shortcut for paste And use unsafeMessage dialog parameter to interpret HTML tags. After aa1d9ce19644fd55f18635f0784225cb0bedb6e3 Change-Id: Iba5a5dc2421c2eaf5ff217d825eac70da2fb1e0c Reviewed-on: https://gerrit.libreoffice.org/72813 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 119e7f5f9..9d9e76eaf 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -786,7 +786,7 @@ L.Control.Menubar = L.Control.extend({ } else if (id === 'repair') { this._map._socket.sendMessage('commandvalues command=.uno:DocumentRepair'); } else if (id === 'warn-copy-paste') { - vex.dialog.alert(_('<p>Your browser has very limited access to the clipboard, so use these keyboard shortcuts:<ul><li><b>Ctrl+C</b>: For copying.</li><li><b>Ctrl+X</b>: For cutting.</li><li><b>Ctrl+P</b>: For pasting.</li></ul></p>')); + vex.dialog.alert({unsafeMessage: '<p>Your browser has very limited access to the clipboard, so use these keyboard shortcuts:<ul><li><b>Ctrl+C</b>: For copying.</li><li><b>Ctrl+X</b>: For cutting.</li><li><b>Ctrl+V</b>: For pasting.</li></ul></p>'}); } // Inform the host if asked if ($(item).data('postmessage') === 'true') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits