whitespace
This commit is contained in:
parent
20a5ed92b4
commit
6a4bbca27f
48
js/office.js
48
js/office.js
@ -31,34 +31,34 @@ var officeMain = {
|
|||||||
$('.documentslist, #emptyfolder, #editing-sessions').fadeOut('slow').promise().done(function() {
|
$('.documentslist, #emptyfolder, #editing-sessions').fadeOut('slow').promise().done(function() {
|
||||||
// odf action toolbar
|
// odf action toolbar
|
||||||
var odfToolbarHtml =
|
var odfToolbarHtml =
|
||||||
'<div id="odf-toolbar">'
|
'<div id="odf-toolbar">' +
|
||||||
+ '<button id="odf_close">'
|
' <button id="odf_close">' +
|
||||||
+ t('files_odfviewer', 'Close')
|
t('files_odfviewer', 'Close') +
|
||||||
+ '</button>'
|
' </button>' +
|
||||||
+ '<button id="odf_invite">'
|
' <button id="odf_invite">' +
|
||||||
+ t('files_odfviewer', 'Invite')
|
t('files_odfviewer', 'Invite') +
|
||||||
+ '</button>'
|
' </button>' +
|
||||||
+ '<span id="toolbar" class="claro"></span>'
|
' <span id="toolbar" class="claro"></span>' +
|
||||||
+ '</div>';
|
'</div>';
|
||||||
$('#controls').append(odfToolbarHtml);
|
$('#controls').append(odfToolbarHtml);
|
||||||
|
|
||||||
$('#office-content').addClass('wide');
|
$('#office-content').addClass('wide');
|
||||||
var memberId, odfelement, odfcanvas, canvashtml =
|
var memberId, odfelement, odfcanvas, canvashtml =
|
||||||
'<div id = "mainContainer" class="claro" style="">' +
|
'<div id = "mainContainer" class="claro" style="">' +
|
||||||
'<div id = "editor">' +
|
' <div id = "editor">' +
|
||||||
'<div id = "container">' +
|
' <div id = "container">' +
|
||||||
'<div id="canvas"></div>' +
|
' <div id="canvas"></div>' +
|
||||||
'</div>' +
|
' </div>' +
|
||||||
'</div>' +
|
' </div>' +
|
||||||
'<div id = "collaboration">' +
|
' <div id = "collaboration">' +
|
||||||
'<div id = "collabContainer">' +
|
' <div id = "collabContainer">' +
|
||||||
'<div id = "members">' +
|
' <div id = "members">' +
|
||||||
'<div id = "inviteButton"></div>' +
|
' <div id = "inviteButton"></div>' +
|
||||||
'<div id = "memberList"></div>' +
|
' <div id = "memberList"></div>' +
|
||||||
'</div>' +
|
' </div>' +
|
||||||
'</div>' +
|
' </div>' +
|
||||||
'</div>' +
|
' </div>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
$(document.body).addClass("claro");
|
$(document.body).addClass("claro");
|
||||||
$('.documentslist, #emptyfolder').after(canvashtml);
|
$('.documentslist, #emptyfolder').after(canvashtml);
|
||||||
// in case we are on the public sharing page we shall display the odf into the preview tag
|
// in case we are on the public sharing page we shall display the odf into the preview tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user