--- loncom/homework/matchresponse.pm 2004/04/08 14:22:48 1.40 +++ loncom/homework/matchresponse.pm 2004/07/02 08:20:55 1.42 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.40 2004/04/08 14:22:48 sakharuk Exp $ +# $Id: matchresponse.pm,v 1.42 2004/07/02 08:20:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -232,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) ."Collection Of FoilsDelete:" @@ -266,6 +266,7 @@ sub end_foilgroup { } elsif ($target eq 'edit') { $result=&Apache::edit::end_table(); } + &Apache::response::poprandomnumber(); return $result; } @@ -463,7 +464,8 @@ sub displayfoils { $question.='
'.$text."\n"; } if ($Apache::lonhomework::type eq 'exam') { - $question.=&Apache::optionresponse::webbubbles(\@used_letters,\@used_letters,$temp,$last_letter); + my @blank; + $question.=&Apache::optionresponse::webbubbles(\@used_letters,\@blank,$temp,$last_letter); } } else { if ($Apache::lonhomework::type eq 'exam') {