Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust ui_defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Nov 4, 2020
1 parent 204d394 commit 4b1a701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document.js
Expand Up @@ -268,7 +268,7 @@ const documentsMain = {
// form to post the access token for WOPISrc
var form = '<form id="loleafletform" name="loleafletform" target="loleafletframe" action="' + urlsrc + '" method="post">'
+ '<input name="access_token" value="' + accessToken + '" type="hidden"/>'
+ '<input name="ui_defaults" value="TextRuler=true;TextStatusbar=false;TextSidebar=false;PresentationSidebar=false;PresentationStatusbar=false;SpreadsheetSidebar=false" type="hidden"/>'
+ '<input name="ui_defaults" value="TextRuler=false;TextStatusbar=true;TextSidebar=false;PresentationSidebar=false;PresentationStatusbar=true;SpreadsheetSidebar=false" type="hidden"/>'
+ '<input name="css_variables" value="' + generateCSSVarTokens() + '" type="hidden"/></form>'

// iframe that contains the Collabora Online
Expand Down

0 comments on commit 4b1a701

Please sign in to comment.