Project

General

Profile

Actions

Bug #78327

closed

isHiddenPalette removes 'form-section' class

Added by Jérémie Roulin over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-10-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Hi,
If I hide a palette with "isHiddenPalette" param, the next palette is displayed with a top border. In fact, the isHiddenPalette state removes 'form-section' class that is needed to remove the top border.
To fix it I've changed the fieldSetWrap method in PaletteAndSingleContainer class like this :

    protected function fieldSetWrap($content, $paletteHidden = false, $label = '')
    {
        $fieldSetClass = 'form-section';
        if ($paletteHidden) {
            $fieldSetClass .= ' hide';
        }

        ...
    }

Can someone commit this little change?

Thanks,
Jérémie

Actions

Also available in: Atom PDF