--- loncom/homework/structuretags.pm 2004/08/25 19:16:25 1.265 +++ loncom/homework/structuretags.pm 2004/08/29 07:49:35 1.266 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.265 2004/08/25 19:16:25 sakharuk Exp $ +# $Id: structuretags.pm,v 1.266 2004/08/29 07:49:35 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -354,12 +354,13 @@ sub init_problem_globals { if ($type eq 'problem') { $Apache::inputtags::part='0'; @Apache::inputtags::partlist=('0'); - - $Apache::lonhomework::problemstatus=&get_problem_status('0') - } else { + $Apache::lonhomework::problemstatus=&get_problem_status('0'); + $Apache::lonhomework::ignore_response_errors=0; + } elsif ($type eq 'library') { $Apache::inputtags::part=''; @Apache::inputtags::partlist=(); $Apache::lonhomework::problemstatus=''; + $Apache::lonhomework::ignore_response_errors=1; } @Apache::inputtags::responselist = (); @Apache::inputtags::importlist = ();