--- loncom/homework/radiobuttonresponse.pm 2007/10/22 09:29:58 1.130 +++ loncom/homework/radiobuttonresponse.pm 2008/02/01 22:05:45 1.131 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.130 2007/10/22 09:29:58 foxr Exp $ +# $Id: radiobuttonresponse.pm,v 1.131 2008/02/01 22:05:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -103,6 +103,7 @@ sub start_radiobuttonresponse { $result .= '\begin{enumerate}'; } elsif ($target eq 'analyze') { my $part_id="$Apache::inputtags::part.$id"; + $Apache::lonhomework::analyze{"$part_id.type"} = 'radiobuttonresponse'; push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); } return $result;