[BUGFIX] Add missing bracket in EXT:rtehtmlarea to fix syntax error 22/47622/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 12 Apr 2016 10:30:36 +0000 (12:30 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 12 Apr 2016 10:50:01 +0000 (12:50 +0200)
Resolves: #75541
Releases: 6.2
Change-Id: I2377695852fe6a307d0a4736f0f2e5eb4d79b608
Reviewed-on: https://review.typo3.org/47622
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/rtehtmlarea/Classes/SelectImage.php

index ab4853a..48eb8da 100644 (file)
@@ -333,7 +333,7 @@ class SelectImage extends \TYPO3\CMS\Recordlist\Browser\ElementBrowser {
                        function jumpToUrl(URL,anchor) {
                                var add_act = URL.indexOf("act=")==-1 ? "&act=" + ' . GeneralUtility::quoteJSvalue(rawurlencode($act)) . ' : "";
                                var add_editorNo = URL.indexOf("editorNo=")==-1 ? "&editorNo=" + ' . GeneralUtility::quoteJSvalue(rawurlencode($editorNo)) . ' : "";
-                               var add_sys_language_content = URL.indexOf("sys_language_content=")==-1 ? "&sys_language_content=" + ' . GeneralUtility::quoteJSvalue(rawurlencode($sys_language_content) . ' : "";
+                               var add_sys_language_content = URL.indexOf("sys_language_content=")==-1 ? "&sys_language_content=" + ' . GeneralUtility::quoteJSvalue(rawurlencode($sys_language_content)) . ' : "";
                                var RTEtsConfigParams = "&RTEtsConfigParams=" + ' . GeneralUtility::quoteJSvalue(rawurlencode($this->RTEtsConfigParams)) . ';
 
                                var cur_width = selectedImageRef ? "&cWidth="+selectedImageRef.style.width : "";