Merge pull request #78 from pranavk/explicit_rev
Explicitly ask for revision history option
This commit is contained in:
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', {
|
$.widget('oc.documentGrid', {
|
||||||
options : {
|
options : {
|
||||||
@ -405,7 +405,8 @@ var documentsMain = {
|
|||||||
"WOPISrc=" + wopisrc +
|
"WOPISrc=" + wopisrc +
|
||||||
"&title=" + encodeURIComponent(title) +
|
"&title=" + encodeURIComponent(title) +
|
||||||
"&lang=" + $('li[data-id='+ documentsMain.fileId +']>a').attr('lolang') +
|
"&lang=" + $('li[data-id='+ documentsMain.fileId +']>a').attr('lolang') +
|
||||||
"&closebutton=1";
|
"&closebutton=1" +
|
||||||
|
"&revisionhistory=1";
|
||||||
|
|
||||||
// access_token - must be passed via a form post
|
// access_token - must be passed via a form post
|
||||||
var access_token = encodeURIComponent(result.token);
|
var access_token = encodeURIComponent(result.token);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user