--- loncom/homework/response.pm 2007/09/27 19:05:03 1.178 +++ loncom/homework/response.pm 2007/10/08 09:22:50 1.179 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.178 2007/09/27 19:05:03 albertel Exp $ +# $Id: response.pm,v 1.179 2007/10/08 09:22:50 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -451,7 +451,11 @@ sub end_customresponse { } if ($target eq 'grade' || $target eq 'web' || $target eq 'answer' || $target eq 'tex' || $target eq 'analyze') { - &Apache::lonxml::increment_counter(&Apache::response::repetition()); + &Apache::lonxml::increment_counter(&Apache::response::repetition(), + $part); + if ($target eq 'analyze') { + &Apache::lonhomework::set_bubble_lines(); + } } pop(@Apache::lonxml::namespace); pop(@Apache::response::custom_answer);