From 26d8976bf0692b7bc6fe0f082a4a8658fd6ce160 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Thu, 13 Jun 2024 17:00:20 -0400 Subject: [PATCH] richdocuments: add host_session_id parameter Signed-off-by: Henry Castro --- lib/Service/InitialStateService.php | 1 + src/document.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lib/Service/InitialStateService.php b/lib/Service/InitialStateService.php index 8e2550204b..e3c71e32ba 100644 --- a/lib/Service/InitialStateService.php +++ b/lib/Service/InitialStateService.php @@ -71,6 +71,7 @@ public function prepareParams(array $params): array { 'title' => '', 'permissions' => '', 'isPublicShare' => false, + 'version' = > $this->appManager->getAppVersion('richdocuments') ]; return array_merge($defaults, $params); diff --git a/src/document.js b/src/document.js index 20cd1d868b..3810c84a52 100644 --- a/src/document.js +++ b/src/document.js @@ -168,6 +168,8 @@ const documentsMain = { + '' // buy product for new customer users + '' + + '' + '' // iframe that contains the Collabora Online Viewer @@ -228,6 +230,8 @@ const documentsMain = { + '' // buy product for new customer users + '' + + '' + '' // iframe that contains the Collabora Online