diff --git a/typo3_src-4.5.2/t3lib/class.t3lib_tceforms.php b/typo3_src-4.5.2/t3lib/class.t3lib_tceforms.php index 76dbbd6..3efe571 100644 --- a/typo3_src-4.5.2/t3lib/class.t3lib_tceforms.php +++ b/typo3_src-4.5.2/t3lib/class.t3lib_tceforms.php @@ -4004,6 +4004,7 @@ class t3lib_TCEforms { $addJS . 'vHWin=window.open(\'' . $url . t3lib_div::implodeArrayForUrl('', array('P' => $params)) . '\'+\'&P[currentValue]=\'+TBE_EDITOR.rawurlencode(' . $this->elName($itemName) . '.value,200)' . $curSelectedValues . ',\'popUp' . $md5ID . '\',\'' . $wConf['JSopenParams'] . '\');' . 'vHWin.focus();return false;'; + $aOnClick = preg_replace("/(\r|\t|\n)/", '', $aOnClick); // Setting "colorBoxLinks" - user LATER to wrap around the color box as well: $colorBoxLinks = Array('', ''); if ((string) $wConf['type'] == 'popup') {