--- loncom/homework/imageresponse.pm 2007/10/15 20:20:49 1.91 +++ loncom/homework/imageresponse.pm 2008/02/01 22:05:45 1.92 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # image click response style # -# $Id: imageresponse.pm,v 1.91 2007/10/15 20:20:49 albertel Exp $ +# $Id: imageresponse.pm,v 1.92 2008/02/01 22:05:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,6 +59,7 @@ sub start_imageresponse { $result=&Apache::response::meta_package_write('imageresponse'); } elsif ($target eq 'analyze') { my $part_id="$Apache::inputtags::part.$id"; + $Apache::lonhomework::analyze{"$part_id.type"} = 'imageresponse'; push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); push (@{ $Apache::lonhomework::analyze{"$part_id.bubble_lines"} }, 1);