--- loncom/homework/radiobuttonresponse.pm 2007/08/06 20:52:54 1.125 +++ loncom/homework/radiobuttonresponse.pm 2007/08/29 10:07:42 1.126 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.125 2007/08/06 20:52:54 albertel Exp $ +# $Id: radiobuttonresponse.pm,v 1.126 2007/08/29 10:07:42 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -244,11 +244,17 @@ sub end_foilgroup { } elsif ( $target eq 'grade') { &grade_response($answer, \@shown, $bubbles_per_line); } elsif ( $target eq 'analyze') { + my $bubble_lines = &bubble_line_count($answer_count, + $bubbles_per_line); &Apache::response::analyze_store_foilgroup(\@shown, ['text','value','location']); my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]"; push (@{ $Apache::lonhomework::analyze{"$part_id.options"} }, ('true','false')); + push (@{ $Apache::lonhomework::analyze{"$part_id.bubble_lines"} }, + $bubble_lines); + my $hash_value = $Apache::lonhomework::analyze{"$part_id.bubble_lines"}[0]; + } } $Apache::lonxml::post_evaluate=0;