summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2018-02-04 12:52:52 (GMT)
committerMark Carver2018-02-04 12:52:52 (GMT)
commit4431f7e43a65a500971f448333f43b7995b875b9 (patch)
treeec4c1d5fd96ca214ddff8da099e489da1100f94b
parent5645152dbb258072777683d645ef3e73cdcbcaee (diff)
Revert "Issue #2910624 by m.stenta: Collapsible fieldsets inside vertical tabs are disabled"
This reverts commit 73fdc013b7ad9cc873259e1f9f4b4ba13acb4e34.
-rw-r--r--templates/bootstrap/bootstrap-panel.vars.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/bootstrap/bootstrap-panel.vars.php b/templates/bootstrap/bootstrap-panel.vars.php
index 06cb695..8c06a57 100644
--- a/templates/bootstrap/bootstrap-panel.vars.php
+++ b/templates/bootstrap/bootstrap-panel.vars.php
@@ -44,6 +44,11 @@ function bootstrap_preprocess_bootstrap_panel(array &$variables) {
// Remove collapsed class as it should only be applied to the body.
_bootstrap_remove_class('collapsed', $element);
}
+ // Force grouped fieldsets to not be collapsible (for vertical tabs).
+ if (!empty($element['#group'])) {
+ $variables['collapsible'] = FALSE;
+ $variables['collapsed'] = FALSE;
+ }
// Generate a unique identifier for the fieldset wrapper.
if (!isset($attributes['id'])) {