[BUGFIX] Palettes "more options" can not be extended if new record is added
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Container / PaletteAndSingleContainer.php
index 46f580a..195e9c8 100644 (file)
@@ -205,7 +205,7 @@ class PaletteAndSingleContainer extends AbstractContainer {
                                }
 
                                if ($renderUnCollapseButtonWrapper) {
-                                       $cssId = 'FORMENGINE_' . $this->globalOptions['table'] . '_' . $paletteName . '_' . $this->globalOptions['databaseRow']['uid'];
+                                       $cssId = str_replace('.', '_', 'FORMENGINE_' . $this->globalOptions['table'] . '_' . $paletteName . '_' . $this->globalOptions['databaseRow']['uid']);
                                        $paletteElementsHtml = $this->wrapPaletteWithCollapseButton($paletteElementsHtml, $cssId);
                                } else {
                                        $paletteElementsHtml = '<div class="row">' . $paletteElementsHtml . '</div>';
@@ -499,4 +499,4 @@ class PaletteAndSingleContainer extends AbstractContainer {
                return $GLOBALS['LANG'];
        }
 
-}
\ No newline at end of file
+}