Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index



main.js is not the js file that is supposed to be used by the browsers directly. It is used by 
the js build system to generate the final bundle.js file which resides in 
loleaflet/dist/bundle.js (and generated when you do 'make' in loleaflet directory)

You load the appropriate html file normally, which then loads all the js files, so something like

myHost/loleaflet/dist/loleaflet.html?file_path=your_url
OK this explains my problem.

I will see if I can get make running, or see if I can grab a bundle.js somewhere.


and this <your_url> needs to be a file url, so something like file:///home/janiv/doc.odt 
<file:///home/janiv/doc.odt>, not a http url to some other location on the web, because in that 
case you need to implement your own WOPI host, like owncloud/nextcloud etc.
Sorry my mistake, of course I meant file:


   It seems the iframe (when loaded) does not contain all the
javascript needed to run it.

Why so ?
I am debugging the javascript in the client and saw calls the seems to leave the iframe, but maybe 
wrongly.


I think you mean kit/ChildSession.cpp ?
no I meant  Kit.cpp e.g line 1779.

ChildSession.cpp is only the receiver from the queue, not the executer (connection to LOkit) unless 
I am mistaken.

Thanks for a prompt answer.

rgds
jan I.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.