diff --git a/js/documents.js b/js/documents.js index 3739ff2b..0be3c767 100644 --- a/js/documents.js +++ b/js/documents.js @@ -1,4 +1,4 @@ -/*globals $,OC,fileDownloadPath,t,document,odf,alert,require,dojo,runtime */ +/*globals $,OC,fileDownloadPath,t,document,odf,alert,require,dojo,runtime,Handlebars */ $.widget('oc.documentGrid', { options : { @@ -405,7 +405,8 @@ var documentsMain = { "WOPISrc=" + wopisrc + "&title=" + encodeURIComponent(title) + "&lang=" + $('li[data-id='+ documentsMain.fileId +']>a').attr('lolang') + - "&closebutton=1"; + "&closebutton=1" + + "&revisionhistory=1"; // access_token - must be passed via a form post var access_token = encodeURIComponent(result.token);