From 0d3855bdf205956d4d70f2c4012ba7c372b67654 Mon Sep 17 00:00:00 2001 From: Georg Ringer <georg.ringer@gmail.com> Date: Sat, 21 Nov 2015 19:21:00 +0100 Subject: [PATCH] [FOLLOWUP][TASK] Use GeneralUtility::quoteJSvalue() where needed part 4 Change-Id: I4db9c237ad5e2739c0364d578b2d87ad542b804c Resolves: #71753 Releases: master Reviewed-on: https://review.typo3.org/44873 Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> --- .../sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php b/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php index eefdcfe6ad00..6306c7573ff3 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php +++ b/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php @@ -655,7 +655,7 @@ class RichTextElement extends AbstractFormElement $jsArray[] = '}'; $jsArray[] = 'configureEditorInstance["' . $this->domIdentifier . '"] = function() {'; $jsArray[] = 'if (typeof RTEarea === "undefined" || typeof HTMLArea === "undefined") {'; - $jsArray[] = ' window.setTimeout("configureEditorInstance[' . GeneralUtilit::quoteJSvalue($this->domIdentifier) . ']();", 40);'; + $jsArray[] = ' window.setTimeout("configureEditorInstance[' . GeneralUtility::quoteJSvalue($this->domIdentifier) . ']();", 40);'; $jsArray[] = '} else {'; $jsArray[] = 'editornumber = "' . $this->domIdentifier . '";'; $jsArray[] = 'RTEarea[editornumber] = new Object();'; -- GitLab