Commit 48e0852c authored by alexpott's avatar alexpott

Issue #2677414 by blue_waters: VerticalTabs' #default_tab broken due to...

Issue #2677414 by blue_waters: VerticalTabs' #default_tab broken due to wrong/mismatching class name
parent e6579987
...@@ -136,7 +136,7 @@ public static function processVerticalTabs(&$element, FormStateInterface $form_s ...@@ -136,7 +136,7 @@ public static function processVerticalTabs(&$element, FormStateInterface $form_s
$element[$name . '__active_tab'] = array( $element[$name . '__active_tab'] = array(
'#type' => 'hidden', '#type' => 'hidden',
'#default_value' => $element['#default_tab'], '#default_value' => $element['#default_tab'],
'#attributes' => array('class' => array('vertical-tabs-active-tab')), '#attributes' => array('class' => array('vertical-tabs__active-tab')),
); );
// Clean up the active tab value so it's not accidentally stored in // Clean up the active tab value so it's not accidentally stored in
// settings forms. // settings forms.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment