[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /homework structuretags.pm

raeburn raeburn at source.lon-capa.org
Sat Dec 10 13:23:13 EST 2011


raeburn		Sat Dec 10 18:23:13 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/homework	structuretags.pm 
  Log:
  - Backport 1.498.
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.465.2.14 loncom/homework/structuretags.pm:1.465.2.15
--- loncom/homework/structuretags.pm:1.465.2.14	Thu Oct  6 03:23:44 2011
+++ loncom/homework/structuretags.pm	Sat Dec 10 18:23:13 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.465.2.14 2011/10/06 03:23:44 raeburn Exp $
+# $Id: structuretags.pm,v 1.465.2.15 2011/12/10 18:23:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -945,6 +945,9 @@
     undef(%Apache::lonhomework::history);
     undef(%Apache::lonhomework::results);
     undef($Apache::inputtags::part);
+    if ($type eq 'Task') {
+        undef($Apache::inputtags::slot_name);
+    }
 #don't undef this, lonhomework.pm takes care of this, we use this to 
 #detect if we try to do 2 problems in one file
 #   undef($Apache::lonhomework::parsing_a_problem);




More information about the LON-CAPA-cvs mailing list