--- loncom/homework/optionresponse.pm 2003/04/02 18:07:10 1.72 +++ loncom/homework/optionresponse.pm 2003/04/02 18:40:37 1.73 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: optionresponse.pm,v 1.72 2003/04/02 18:07:10 sakharuk Exp $ +# $Id: optionresponse.pm,v 1.73 2003/04/02 18:40:37 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -393,7 +393,7 @@ sub displayfoils { } $result.=$break.$text."\n"; if ($Apache::lonhomework::type eq 'exam') { - $result.=&webbubbles(\@opt,\@alphabet); + $result.=&webbubbles(\@opt,\@alphabet,$temp); } $temp++; } else { @@ -468,14 +468,14 @@ sub optionlist_correction { sub webbubbles { - my ($ropt,$ralphabet)=@_; + my ($ropt,$ralphabet,$temp)=@_; my @opt=@$ropt; my @alphabet=@$ralphabet; my $result=''; my $number_of_bubbles = $#opt + 1; $result.= ''; for (my $ind=0;$ind<$number_of_bubbles;$ind++) { - $result.=''; } $result.='
'.$alphabet[$ind].': '.$opt[$ind].'
';