diff --git a/src/document.js b/src/document.js
index b35a82d071..d3ca1bab3b 100644
--- a/src/document.js
+++ b/src/document.js
@@ -167,7 +167,7 @@ const documentsMain = {
+ ''
// iframe that contains the Collabora Online Viewer
- const frame = ''
+ const frame = ''
$('#revViewer').append(form)
$('#revViewer').append(frame)
@@ -227,7 +227,7 @@ const documentsMain = {
+ ''
// iframe that contains the Collabora Online
- const frame = ''
+ const frame = ''
$('#mainContainer').append(form)
$('#mainContainer').append(frame)
diff --git a/src/view/Office.vue b/src/view/Office.vue
index dc360cb04a..148013a72d 100644
--- a/src/view/Office.vue
+++ b/src/view/Office.vue
@@ -81,7 +81,8 @@
allow="clipboard-read *; clipboard-write *"
class="office-viewer__iframe"
:style="{visibility: showIframe ? 'visible' : 'hidden' }"
- :src="iframeSrc" />
+ :src="iframeSrc"
+ :title="iframeTitle" />
{{ t('richdocuments', 'Edit') }}
@@ -211,6 +212,9 @@ export default {
showIframe() {
return this.loading >= LOADING_STATE.FRAME_READY || this.debug
},
+ iframeTitle() {
+ return loadState('richdocuments', 'productName', 'Nextcloud Office')
+ },
showLoadingIndicator() {
return this.loading < LOADING_STATE.FRAME_READY
},