summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-26 14:20:20 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-26 14:20:20 +0000
commit269856e5e72af549d4aad0cd86f5ccda47507f8c (patch)
tree9918ff8f9a615865b9b1b3b158a976c90c73e3c3
parent2da09a6597c2c48da6475c795b4643bfa9fd18c2 (diff)
downloadbrdo-269856e5e72af549d4aad0cd86f5ccda47507f8c.tar.gz
brdo-269856e5e72af549d4aad0cd86f5ccda47507f8c.tar.bz2
- Patch #85166 by jjeff: added an extra div to enable Javascript-ify checkboxes.
-rw-r--r--includes/form.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc
index bf7486f54..f3cf818ba 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -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']);