commit
aa50e72c46
@ -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' +
|
||||
|
@ -26,7 +26,6 @@ BuildArch: noarch
|
||||
Requires: owncloud
|
||||
Requires: loolwsd
|
||||
Requires: loleaflet
|
||||
Requires: cloudsuite
|
||||
|
||||
%description
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user