From 58f9b4c5b46208190241df73c554636ed380f5a7 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Wed, 29 Jun 2016 17:38:40 +0530 Subject: [PATCH] Explicitly ask for revision history option ... since loleaflet explicitly requires it now if revision history option is required. --- js/documents.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/documents.js b/js/documents.js index 3739ff2b..6381e0de 100644 --- a/js/documents.js +++ b/js/documents.js @@ -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);