Commit 2ae923c0 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Add a parameter to open collapsed fieldsets"

parents 827fed1c 2058bda1
......@@ -59,7 +59,7 @@ function pieform_element_fieldset(Pieform $form, $element) {/*{{{*/
break;
}
}
if (!empty($element['collapsed']) && !$error) {
if (!empty($element['collapsed']) && !$error && param_alphanumext('fs', null) != $element['name']) {
$classes[] = 'collapsed';
}
}
......
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