From 07dba1128b83f163d1481dec1b0203b2ec6799b7 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Mon, 13 Nov 2006 20:37:58 +0000 Subject: [PATCH] fix: New YUI resizable textarea not obeying width/height --- lib/WebGUI/Form/Textarea.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Form/Textarea.pm b/lib/WebGUI/Form/Textarea.pm index 590c302b0..869553844 100644 --- a/lib/WebGUI/Form/Textarea.pm +++ b/lib/WebGUI/Form/Textarea.pm @@ -112,7 +112,7 @@ sub toHtml { my $style = "width: ".$width."px; height: ".$height."px; ".$self->get("style"); my $out = ''; if ($self->get("resizeable")) { - $out = '
'.$out.'
'; + $out = '
'.$out.'
'; my ($style, $url) = $self->session->quick(qw(style url)); $style->setScript($url->extras("yui/build/yahoo/yahoo.js"), {type=>"text/javascript"}); $style->setScript($url->extras("yui/build/event/event.js"), {type=>"text/javascript"}); @@ -125,7 +125,7 @@ sub toHtml { $out .= qq| |; }