Commit 40acc2ca authored by dragonwize's avatar dragonwize
Browse files

Added more empty default fields when tips are hidden to be compatiable with...

Added more empty default fields when tips are hidden to be compatiable with Wysiwyg and other modules expecting core defaults from filter_form().
parent 4b02af90
......@@ -502,6 +502,7 @@ function better_formats_filter_form($value = FILTER_FORMAT_DEFAULT, $node_type =
// this is to get around an issue with Wysiwyg API popping the last element
// should not be needed in D7
// see http://drupal.org/node/344169
$form[$format->format]['#description'] = '';
$form[] = array('#value' => '');
}
}
......@@ -531,6 +532,7 @@ function better_formats_filter_form($value = FILTER_FORMAT_DEFAULT, $node_type =
'#title' => t('Formatting guidelines'),
'#value' => '',
);
$form[] = array('#value' => '');
}
}
......
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