[Libreoffice-commits] online.git: Branch 'libreoffice-5-3' - loleaflet/dist
László Németh
laszlo.nemeth at collabora.com
Mon Mar 27 01:19:29 UTC 2017
loleaflet/dist/toolbar/toolbar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9a1544041a000c5c8169db77581638b52cba2784
Author: László Németh <laszlo.nemeth at collabora.com>
Date: Thu Dec 8 23:21:22 2016 +0100
tdf#106654 loleaflet: fix footnote insertion
Ctrl-Alt-F (insert footnote) activated the Search bar (Ctrl-F), too.
Change-Id: I681156f703bc044417c9b47aad8b3ebce5f259f6
Reviewed-on: https://gerrit.libreoffice.org/35457
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 7df233c0..7d5ab254 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1320,7 +1320,7 @@ map.on('updatepermission', function (e) {
});
map.on('keydown', function (e) {
- if (e.originalEvent.ctrlKey &&
+ if (e.originalEvent.ctrlKey && !e.originalEvent.altKey &&
(e.originalEvent.key === 'f' || e.originalEvent.key === 'F')) {
L.DomUtil.get('search-input').focus();
e.originalEvent.preventDefault();
More information about the Libreoffice-commits
mailing list