[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 12 Oct 2007 18:45:48 -0000
albertel Fri Oct 12 14:45:48 2007 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- BUG#4527 maxtries would bleed between parts in CSTR
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.402 loncom/homework/structuretags.pm:1.403
--- loncom/homework/structuretags.pm:1.402 Fri Oct 12 14:45:03 2007
+++ loncom/homework/structuretags.pm Fri Oct 12 14:45:47 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.402 2007/10/12 18:45:03 albertel Exp $
+# $Id: structuretags.pm,v 1.403 2007/10/12 18:45:47 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1489,6 +1489,8 @@
@Apache::inputtags::previous=();
@Apache::inputtags::previous_version=();
$Apache::lonhomework::problemstatus=&get_problem_status($id);
+ &Apache::response::reset_params();
+
my $hidden=&Apache::loncommon::check_if_partid_hidden($Apache::inputtags::part);
my $newtype=&Apache::lonnet::EXT("resource.$id.type");
if ($newtype) { $Apache::lonhomework::type=$newtype; }