From 856d8b5bcdd004649839a186518a92a74782f60c Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Fri, 29 Dec 2023 10:20:56 +0100 Subject: [PATCH] =?UTF-8?q?36832:=20Seiteneditor:=20title-Attribut=20f?= =?UTF-8?q?=C3=BCr=20iFrame=20falsch=20bzw.=20nicht=20aussagekr=C3=A4ftig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/js/src/components/paragraph/ui/paragraph-ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Services/COPage/Editor/js/src/components/paragraph/ui/paragraph-ui.js b/Services/COPage/Editor/js/src/components/paragraph/ui/paragraph-ui.js index 1a60dc4cef8a..62a55cd58c25 100644 --- a/Services/COPage/Editor/js/src/components/paragraph/ui/paragraph-ui.js +++ b/Services/COPage/Editor/js/src/components/paragraph/ui/paragraph-ui.js @@ -868,7 +868,9 @@ export default class ParagraphUI { const ef = action.paragraph().editor(); const tblact = action.table().editor(); const ifrm = document.getElementById('tinytarget_ifr'); - ifrm.title = il.Language.txt("copg_edit_iframe_title"); + if (ifrm) { + ifrm.title = il.Language.txt("copg_edit_iframe_title"); + } //#0017152 $('#tinytarget_ifr').contents().find("html").attr('lang', $('html').attr('lang'));