Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.46
diff -u -F^f -r1.46 form.inc
--- includes/form.inc	10 Jan 2006 19:37:27 -0000	1.46
+++ includes/form.inc	10 Jan 2006 20:09:27 -0000
@@ -832,7 +832,7 @@ function theme_form($element) {
  */
 function theme_textarea($element) {
   $class = 'textarea';
-  if ($element['#resizable'] !== false) {
+  if ($element['#resizable'] == TRUE) {
     drupal_add_js('misc/textarea.js');
     $class .= ' resizable';
   }
Index: themes/chameleon/chameleon.theme
===================================================================
RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v
retrieving revision 1.37
diff -u -F^f -r1.37 chameleon.theme
--- themes/chameleon/chameleon.theme	27 Dec 2005 10:30:44 -0000	1.37
+++ themes/chameleon/chameleon.theme	10 Jan 2006 20:09:28 -0000
@@ -169,4 +169,19 @@ function chameleon_help() {
   }
 }
 
+/**
+ * Example of a theme specific textarea. This turns on the fancy javascript resizers.
+ */
+function chameleon_textarea($element) {
+  $class = 'textarea';
+  if ($element['#resizable'] !== FALSE) {
+    drupal_add_js('misc/textarea.js');
+    $class .= ' resizable';
+  }
+
+  $cols = $element['#cols'] ? ' cols="'. $element['#cols'] .'"' : '';
+
+  return theme('form_element', $element['#title'], '<textarea'. $cols .' rows="'. $element['#rows'] .'" name="'. $element['#name'] .'" id="' . $element['#id'] .'" class="'. _form_get_class($class, $element['#required'], form_get_error($element)) .'"'. drupal_attributes($element['#attributes']) .'>'. check_plain($element['#value']) .'</textarea>', $element['#description'], $element['#id'], $element['#required'], form_get_error($element));
+}
+
 ?>
