Issue Bug Closed

#78327isHiddenPalette removes 'form-section' class

Jérémie Roulin 10/18/16, 11:40 updated 10/02/18, 11:06

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

Reviews 2