[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loleaflet/debug

Jan Holesovsky kendy at collabora.com
Mon Apr 25 10:41:36 UTC 2016


 loleaflet/debug/document/document_simple_example.html |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 211e55df83ef5c0c548ef952b4c029fd833c6c39
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Mon Apr 25 12:40:51 2016 +0200

    Debug output of the locontextmenu event.

diff --git a/loleaflet/debug/document/document_simple_example.html b/loleaflet/debug/document/document_simple_example.html
index 7f98476..afeb178 100644
--- a/loleaflet/debug/document/document_simple_example.html
+++ b/loleaflet/debug/document/document_simple_example.html
@@ -108,5 +108,6 @@
     globalMap.addControl(L.control.columnHeader());
     globalMap.addControl(L.control.rowHeader());
     globalMap.on('hyperlinkclicked', function (e) { window.open(e.url, '_blank'); });
+    globalMap.on('locontextmenu', function (e) { console.log("locontextmenu: %o", e.menu); });
     </script>
 </body></html>


More information about the Libreoffice-commits mailing list