[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-0' - loleaflet/dist
Pranav Kant
pranavk at collabora.co.uk
Fri Jan 13 10:01:22 UTC 2017
loleaflet/dist/toolbar/toolbar.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5717d17a74dc503b2ae8ce135b08d58ff6d283e9
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Dec 20 16:03:24 2016 +0530
loleaflet: reset selection after search-not-found
Change-Id: If1c10cb10d1fce79a4697d5cc548dae781cfb2ec
(cherry picked from commit fedfc75714991c28bfdad882ddc012c1d6ad0a5f)
Reviewed-on: https://gerrit.libreoffice.org/33024
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 33d2bd9..86d034e 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1262,6 +1262,7 @@ map.on('search', function (e) {
toolbar.disable('searchnext');
toolbar.hide('cancelsearch');
L.DomUtil.addClass(searchInput, 'search-not-found');
+ map.resetSelection();
setTimeout(function () {
L.DomUtil.removeClass(searchInput, 'search-not-found');
}, 500);
More information about the Libreoffice-commits
mailing list