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

raeburn raeburn at source.lon-capa.org
Wed Feb 1 13:51:52 EST 2012


raeburn		Wed Feb  1 18:51:52 2012 EDT

  Modified files:              (Branch: loncapaMITrelate_1)
    /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.14.2.1
--- loncom/homework/structuretags.pm:1.465.2.14	Thu Oct  6 03:23:44 2011
+++ loncom/homework/structuretags.pm	Wed Feb  1 18:51:52 2012
@@ -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.14.2.1 2012/02/01 18:51:52 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