--- D:\src\htdocs\drupal-cvs\modules\quicktags\quicktags.module	Sun Aug 13 17:02:40 2006 UTC
+++ D:\src\htdocs\band-4.7.2\modules\filters\quicktags\quicktags.module	Wed Aug 16 12:00:00 2006 UTC
@@ -67,7 +67,7 @@
   if (quicktags_show_quicktags()) {
     // Set resizable to false to avoid drupal.js resizable function from taking control of the textarea
     $type['textarea'] = array(
-      '#resizable' => FALSE,
+//      '#resizable' => FALSE,
       '#theme' => 'quicktags_textfield',
     );
   }
@@ -125,7 +125,13 @@
   //using cache = FALSE might seem a good option, but this breaks on the menu.
 
   $cols = ($element['#cols'] ? ' cols="'. $element['#cols'] .'"' : '');
-  $class[] = ($element['#attributes']['class'] ? $element['#attributes']['class'] : 'form-text');
+  $class[] = ($element['#attributes']['class'] ? $element['#attributes']['class'] : 'form-textarea');
+
+  if ($element['#resizable'] !== false) {
+    drupal_add_js('misc/textarea.js');
+    $class[] = 'resizable';
+  }
+
   _form_set_class($element, $class);
 
   $html = '<script language="JavaScript" type="text/javascript">edToolbar('. $ta_count .');</script>';
