Merge pull request #78 from pranavk/explicit_rev

Explicitly ask for revision history option
pull/1/head
Andras Timar 8 years ago committed by GitHub
commit add49b6f47

@ -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);

Loading…
Cancel
Save