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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 02 Jan 2006 22:34:34 -0000


albertel		Mon Jan  2 17:34:34 2006 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BUG# 4532
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.328 loncom/homework/structuretags.pm:1.329
--- loncom/homework/structuretags.pm:1.328	Thu Dec 22 17:06:54 2005
+++ loncom/homework/structuretags.pm	Mon Jan  2 17:34:31 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.328 2005/12/22 22:06:54 albertel Exp $
+# $Id: structuretags.pm,v 1.329 2006/01/02 22:34:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -719,6 +719,7 @@
 
     if (!$Apache::lonxml::metamode) {
 	$result = &Apache::lonxml::endredirection(); #started in &start_problem
+	$Apache::lonxml::post_evaluate=0;
     }
 
     if ($target eq 'tex') {
@@ -1371,6 +1372,7 @@
     my $result;
     if (!$Apache::lonxml::metamode) {
 	$result = &Apache::lonxml::endredirection(); # started in &start_part
+	$Apache::lonxml::post_evaluate=0;
     }
     if ($target eq 'grade') {
 	if (($status eq 'CAN_ANSWER' || $Apache::lonhomework::scantronmode) &&