[BUGFIX] Make edit button in FormEngine wizard work again
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Element / AbstractFormElement.php
index 3625081..95a2283 100644 (file)
@@ -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();' .