loleaflet/dist/toolbar/toolbar.js | 1 + 1 file changed, 1 insertion(+)
New commits: commit 5717d17a74dc503b2ae8ce135b08d58ff6d283e9 Author: Pranav Kant <pran...@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.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits