[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 23 Sep 2005 18:39:57 -0000
albertel Fri Sep 23 14:39:57 2005 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- grrr not handling the default type well (extenison types weren't propagating through parts)
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.300 loncom/homework/structuretags.pm:1.301
--- loncom/homework/structuretags.pm:1.300 Tue Sep 20 02:40:30 2005
+++ loncom/homework/structuretags.pm Fri Sep 23 14:39:55 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.300 2005/09/20 06:40:30 albertel Exp $
+# $Id: structuretags.pm,v 1.301 2005/09/23 18:39:55 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -511,7 +511,6 @@
defined($env{'form.problemtype'})) {
$Apache::lonhomework::type=$env{'form.problemtype'};
}
- $Apache::lonhomework::default_type = $Apache::lonhomework::type;
&Apache::lonxml::debug("Found this to be of type :$Apache::ltonhomework::type:");
}
if ($Apache::lonhomework::type eq '' ) {
@@ -524,6 +523,7 @@
&Apache::lonxml::debug("Using default type, problem, :$uri:");
}
}
+ $Apache::lonhomework::default_type = $Apache::lonhomework::type;
#added vars to the scripting enviroment
my $expression='$external::part=\''.$Apache::inputtags::part.'\';';