Commit 3b148f60 authored by dragonwize's avatar dragonwize
Browse files

Fixed #1699846 by dragonwize: Change fieldset to container instead of...

Fixed #1699846 by dragonwize: Change fieldset to container instead of disabling access when nothing is shown.
parent 204bd3e2
......@@ -200,7 +200,7 @@ function better_formats_filter_process_format($element) {
// Hide the entire text format fieldset if the user is not supposed to see
// anything inside it.
if (!$show_selection && !$show_tips && !$show_tips_link) {
$element['format']['#access'] = FALSE;
$element['format']['#type'] = 'container';
}
return $element;
......
Supports Markdown
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