Commit 269856e5 authored by Dries's avatar Dries

- Patch #85166 by jjeff: added an extra div to enable Javascript-ify checkboxes.

parent 2da09a65
......@@ -1173,6 +1173,7 @@ function theme_checkbox($element) {
* A themed HTML string representing the checkbox set.
*/
function theme_checkboxes($element) {
$element['#children'] = '<div class="form-checkboxes">'. $element['#children'] .'</div>';
if ($element['#title'] || $element['#description']) {
unset($element['#id']);
return theme('form_element', $element, $element['#children']);
......
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