Fixed a bug where cols=rows on HTML Areas.

This commit is contained in:
JT Smith 2002-11-25 08:28:45 +00:00
parent 1f80c7498e
commit 97e6ebbdaf
2 changed files with 7 additions and 2 deletions

View file

@ -659,7 +659,7 @@ sub HTMLArea {
WebGUI::International::get(171).'" style="font-size: 8pt;"><br>';
}
$rows = $_[0]->{rows} || ($session{setting}{textAreaRows}+7);
$columns = $_[0]->{rows} || ($session{setting}{textAreaCols}+5);
$columns = $_[0]->{columns} || ($session{setting}{textAreaCols}+5);
$output .= textarea({
name=>$_[0]->{name},
value=>$_[0]->{value},