[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Tue, 13 Nov 2007 22:16:13 -0000


albertel		Tue Nov 13 17:16:13 2007 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  - save the target away so it can get enquired about
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.468 loncom/xml/lonxml.pm:1.469
--- loncom/xml/lonxml.pm:1.468	Mon Oct 29 20:22:27 2007
+++ loncom/xml/lonxml.pm	Tue Nov 13 17:16:10 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.468 2007/10/30 00:22:27 albertel Exp $
+# $Id: lonxml.pm,v 1.469 2007/11/13 22:16:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -377,7 +377,7 @@
      $finaloutput .= join('',@script_var_displays);
      undef(@script_var_displays);
  }
-
+ &init_state();
  if ($env{'form.return_only_error_and_warning_counts'}) {
      return "$errorcount:$warningcount";
  }
@@ -659,6 +659,7 @@
   &init_counter();
   &clear_bubble_lines_for_part();
   &init_state();
+  &set_state('target',$target);
   @Apache::lonxml::pwd=();
   @Apache::lonxml::extlinks=();
   @script_var_displays=();