[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 29 Aug 2004 07:51:22 -0000
albertel Sun Aug 29 03:51:22 2004 EDT
Modified files: (Branch: version_1_2_X)
/loncom/homework structuretags.pm
Log:
- backport 1.266
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.260.2.3 loncom/homework/structuretags.pm:1.260.2.4
--- loncom/homework/structuretags.pm:1.260.2.3 Wed Aug 25 16:12:15 2004
+++ loncom/homework/structuretags.pm Sun Aug 29 03:51:22 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.260.2.3 2004/08/25 20:12:15 albertel Exp $
+# $Id: structuretags.pm,v 1.260.2.4 2004/08/29 07:51:22 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -353,12 +353,13 @@
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 = ();