Index: textarea.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/textarea.inc,v retrieving revision 1.12.2.7 diff -u -p -r1.12.2.7 textarea.inc --- textarea.inc 3 Nov 2008 17:01:44 -0000 1.12.2.7 +++ textarea.inc 5 Dec 2008 11:06:33 -0000 @@ -59,6 +59,13 @@ function _webform_edit_textarea($currfie '#size' => 5, '#maxlength' => 10, ); + $edit_fields['extra']['resizable'] = array( + '#type' => 'checkbox', + '#title' => t("Resizable"), + '#description' => t('Make this field resizable.'), + '#weight' => 2, + '#default_value' => $currfield['extra']['resizable'], + ); $edit_fields['extra']['disabled'] = array( '#type' => 'checkbox', '#title' => t("Disabled"), @@ -89,6 +96,7 @@ function _webform_render_textarea($compo '#rows' => !empty($component['extra']['rows']) ? $component['extra']['rows'] : 5, '#cols' => !empty($component['extra']['cols']) ? $component['extra']['cols'] : 60, '#attributes' => $component['extra']['attributes'], + '#resizable' => ($component['extra']['resizable'] == 0) ? FALSE : TRUE, '#disabled' => $component['extra']['disabled'], '#prefix' => '
', '#suffix' => '
',