[BUGFIX] isHiddenPalette removes 'form-section' class 96/50296/2
authorEric Chavaillaz <eric@hemmer.ch>
Thu, 20 Oct 2016 18:03:03 +0000 (20:03 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 20 Oct 2016 20:31:28 +0000 (22:31 +0200)
If the first palette of a form is hidden, a tiny line is append
under the tab title. This patch removes it.

Resolves: #78327
Releases: master, 7.6
Change-Id: Ibf0f3b9ed243a3d30de9bb726b17ffdec8414c65
Reviewed-on: https://review.typo3.org/50296
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php

index eebc47a..b59532b 100644 (file)
@@ -335,7 +335,7 @@ class PaletteAndSingleContainer extends AbstractContainer
     {
         $fieldSetClass = 'form-section';
         if ($paletteHidden) {
-            $fieldSetClass = 'hide';
+            $fieldSetClass .= ' hide';
         }
 
         $result = [];