fix: Data Form Text Area Box Non-Existent

This commit is contained in:
Wouter van Oijen 2006-07-22 11:17:26 +00:00
parent 68d8753499
commit 2e7e62fa1e
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@
- fix: navigation (Wouter van Oijen / ProcoliX)
- Fixed typo in template variable project.gantt.rowspan and documentation
- fix: Events Calendar Double Date (Wouter van Oijen / ProcoliX)
- fix: Data Form Text Area Box Non-Existent (Wouter van Oijen / ProcoliX)
7.0.2

View file

@ -113,7 +113,9 @@ sub toHtml {
$resize = '<img src="'.$self->session->icon->getBaseURL().'/drag.gif" title="'.$i18n->get("drag to resize").'" alt="'.$i18n->get("drag to resize").'" class="draggable" onmousedown="tar_drag_start(event, \''.$self->get('id').'\');" />';
}
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters($self->get("value"))));
my $style = "width: ".$self->get('width')."px; height: ".$self->get('height')."px; ".$self->get("style");
my $width = $self->get('width') || 400;
my $height = $self->get('height') || 150;
my $style = "width: ".$width."px; height: ".$height."px; ".$self->get("style");
return '<textarea id="'.$self->get('id').'" name="'.$self->get("name").'" style="'.$style.'" '.$self->get("extras").'>'.$value.'</textarea>'.$resize;
}