--- loncom/homework/matchresponse.pm 2004/04/02 17:58:16 1.39 +++ loncom/homework/matchresponse.pm 2004/05/27 04:32:19 1.41 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.39 2004/04/02 17:58:16 sakharuk Exp $ +# $Id: matchresponse.pm,v 1.41 2004/05/27 04:32:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -161,7 +161,8 @@ sub end_itemgroup { $Apache::response::itemgroup{$name.'.text'}; $i++; } - $table.=' \end{description} \strut '; + $table.=' \end{description} \strut '; + if ($Apache::lonhomework::type eq 'exam') {$table.='\vskip -13 mm \strut ';} $Apache::matchresponse::itemtable{'display'}=$table; } return $result; @@ -231,7 +232,7 @@ sub start_foilgroup { my $result; %Apache::response::foilgroup=(); $Apache::matchresponse::conceptgroup=0; - &Apache::response::setrandomnumber(); + &Apache::response::pushrandomnumber(); if ($target eq 'edit') { $result.=&Apache::edit::start_table($token) ."