[Libreoffice-commits] online.git: loleaflet/src

mert (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 16 17:09:39 UTC 2020


 loleaflet/src/layer/tile/TileLayer.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c34ca443b2037b4cf200a17013481c1cc75090a4
Author:     mert <mert.tumer at collabora.com>
AuthorDate: Mon Mar 16 12:34:00 2020 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Mar 16 18:09:20 2020 +0100

    mobile: fix hyperlink popup does not disappear.
    
    popups dont disapper on impress also other types of documents
    when tapping on graphics
    
    Change-Id: I3b6c64f3347e6ea6aa52c9568bec3233b748d932
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90555
    Tested-by: Andras Timar <andras.timar at collabora.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index d302dccc4..4937e7c31 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -919,6 +919,9 @@ L.TileLayer = L.GridLayer.extend({
 	},
 
 	_onGraphicSelectionMsg: function (textMsg) {
+		if (this._map.hyperlinkPopup !== null) {
+			this._closeURLPopUp();
+		}
 		if (textMsg.match('EMPTY')) {
 			this._resetSelectionRanges();
 		}


More information about the Libreoffice-commits mailing list