diff --git a/typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php b/typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php index 3625081394579ae2752c968a82277f957c3a2059..95a2283aa86dc26fe6acca8c6fa97d453825f441 100644 --- a/typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php +++ b/typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php @@ -326,8 +326,8 @@ abstract class AbstractFormElement { $onlyIfSelectedJS = 'if (!TBE_EDITOR.curSelected(\'' . $itemName . $listFlag . '\')){' . 'alert(' . GeneralUtility::quoteJSvalue($notSelectedText) . ');' . - 'return false; . - }'; + 'return false;' . + '}'; } $aOnClick = 'this.blur();' .