Merge pull request #78 from pranavk/explicit_rev

Explicitly ask for revision history option
This commit is contained in:
Andras Timar 2016-06-29 22:38:05 +02:00 committed by GitHub
commit add49b6f47

View File

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