loleaflet/src/map/handler/Map.TouchGesture.js |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 25446b4a82ba0bea615edcedc9529d194a825827
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Thu Dec 19 01:48:10 2019 +0000
Commit:     Muhammet Kara <muhammet.k...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Muhammet Kara <muhammet.k...@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');
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to