fix CS post title form field too large

This commit is contained in:
Graham Knop 2007-08-20 18:55:14 +00:00
parent 6c77bb0c95
commit ab0fa3fef6
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
http://www.webgui.org/bugs/tracker/changing-group-detail-adds-number-to-group-name
- fix: bug in EMS purge
- fix: bug in poll where you can't edit it to have less answers
- fix: CS post title form field sized too large
7.4.3
- Data Forms set reply to to the same as the from field

View file

@ -114,7 +114,7 @@ sub toHtml {
my $height = $self->get('height') || 150;
my ($style, $url) = $self->session->quick(qw(style url));
my $styleAttribute = "width: ".$width."px; height: ".$height."px; ".$self->get("style");
$style->setRawHeadTags(qq|<style type="text/css">\n#|.$self->get('id').qq|{ $styleAttribute }\n</style>|);
$style->setRawHeadTags(qq|<style type="text/css">\ntextarea#|.$self->get('id').qq|{ $styleAttribute }\n</style>|);
my $out = '<textarea id="'.$self->get('id').'" name="'.$self->get("name").'" '.$self->get("extras").' rows="#" cols="#">'.$value.'</textarea>';
if ($self->get("resizable")) {
$out = '<div style="border: 0px; width: '.$width.'px; height: '.$height.'px;" class="yresizable-pinned" id="'.$self->get('id').'_wrapper">'.$out.'</div>';