Diff for /loncom/homework/edit.pm between versions 1.83 and 1.84

version 1.83, 2004/06/04 16:05:47 version 1.84, 2004/06/08 01:32:01
Line 487  sub editfield { Line 487  sub editfield {
     my ($tag,$data,$description,$minwidth,$minheight,$usehtmlarea)=@_;      my ($tag,$data,$description,$minwidth,$minheight,$usehtmlarea)=@_;
   
     my ($rows,$cols)=&textarea_sizes(\$data);      my ($rows,$cols)=&textarea_sizes(\$data);
     $rows+=5; # make room for HTMLarea      if (&Apache::lonhtmlcommon::htmlareabrowser() &&
    !&Apache::lonhtmlcommon::htmlareablocked()) {
    $rows+=7;      # make room for HTMLarea
    $minheight+=7; # make room for HTMLarea
       }
     if ($cols > 80) { $cols = 80; }      if ($cols > 80) { $cols = 80; }
     if ($cols < $minwidth ) { $cols = $minwidth; }      if ($cols < $minwidth ) { $cols = $minwidth; }
     if ($rows < $minheight) { $rows = $minheight; }      if ($rows < $minheight) { $rows = $minheight; }

Removed from v.1.83  
changed lines
  Added in v.1.84


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>