[Libreoffice-commits] online.git: loleaflet/src
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 19 02:33:39 UTC 2019
loleaflet/src/map/handler/Map.TouchGesture.js | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 25446b4a82ba0bea615edcedc9529d194a825827
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Thu Dec 19 01:48:10 2019 +0000
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 03:33:21 2019 +0100
mobile: launch links from link popups when tapped.
Change-Id: I5ba9234d8c253ffdcbfd0d93c6ef72a70ff46f17
Reviewed-on: https://gerrit.libreoffice.org/85462
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js b/loleaflet/src/map/handler/Map.TouchGesture.js
index d682cb4c5..6b472a27e 100644
--- a/loleaflet/src/map/handler/Map.TouchGesture.js
+++ b/loleaflet/src/map/handler/Map.TouchGesture.js
@@ -297,6 +297,11 @@ L.Map.TouchGesture = L.Handler.extend({
if (window.ThisIsTheiOSApp)
this._toolbar.remove();
+ // clicked a hyperlink popup - not really designed for this.
+ if (this._map.hyperlinkPopup !== null && e.target != null &&
+ this._map.hyperlinkPopup._contentNode == e.target.parentNode)
+ this._map.fire('hyperlinkclicked', {url: e.target.href});
+
this._map.fire('closepopups');
this._map.fire('closemobilewizard');
More information about the Libreoffice-commits
mailing list