changed path of iframe, all is in loleaflet

pull/1/head
Andras Timar 8 years ago
parent 5bbbeee37d
commit 4afc1ed80a

@ -179,7 +179,7 @@ var documentsMain = {
$(document.body).prepend(documentsMain.UI.container);
$('title').text(title + ' - ' + documentsMain.UI.mainTitle);
var viewer = window.location.protocol + '//' + window.location.host + '/cloudsuite/cloudsuite.html?' +
var viewer = window.location.protocol + '//' + window.location.host + '/loleaflet/dist/loleaflet.html?' +
'file_path=' + documentsMain.url +
'&host=' + 'ws://' + window.location.hostname + ':9980' +
'&permission=' + 'view' +

@ -89,7 +89,7 @@ var odfViewer = {
// TODO call something like in the onEdit case; or do we want
// view-only at all?
/*
var viewer = window.location.protocol + '//' + window.location.host + '/cloudsuite/cloudsuite.html?' +
var viewer = window.location.protocol + '//' + window.location.host + '/loleaflet/dist/loleaflet.html?' +
'file_path=' + context.dir + '/' + filename +
'&host=' + 'ws://' + window.location.hostname + ':9980' +
'&permission=' + 'view' +

Loading…
Cancel
Save