Merge pull request #80 from pranavk/lolang
Respect lolang param in revision history mode too
This commit is contained in:
commit
1cf1268533
@ -250,6 +250,7 @@ var documentsMain = {
|
|||||||
var urlsrc = $('li[data-id='+ fileId.replace(/_.*/, '') +']>a').attr('urlsrc') +
|
var urlsrc = $('li[data-id='+ fileId.replace(/_.*/, '') +']>a').attr('urlsrc') +
|
||||||
"WOPISrc=" + wopisrc +
|
"WOPISrc=" + wopisrc +
|
||||||
"&title=" + encodeURIComponent(title) +
|
"&title=" + encodeURIComponent(title) +
|
||||||
|
"&lang=" + $('li[data-id='+ fileId.replace(/_.*/, '') +']>a').attr('lolang') +
|
||||||
"&permission=readonly";
|
"&permission=readonly";
|
||||||
|
|
||||||
// access_token - must be passed via a form post
|
// access_token - must be passed via a form post
|
||||||
|
Loading…
x
Reference in New Issue
Block a user