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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 04 Oct 2006 19:50:47 -0000


albertel		Wed Oct  4 15:50:47 2006 EDT

  Modified files:              (Branch: version_2_2_X)
    /loncom/xml	lonxml.pm 
  Log:
  - backport 1.421 1.422
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.415 loncom/xml/lonxml.pm:1.415.2.1
--- loncom/xml/lonxml.pm:1.415	Tue Jul 11 05:44:04 2006
+++ loncom/xml/lonxml.pm	Wed Oct  4 15:50:43 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.415 2006/07/11 09:44:04 foxr Exp $
+# $Id: lonxml.pm,v 1.415.2.1 2006/10/04 19:50:43 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1014,7 +1014,7 @@
     }
 
     sub remember_problem_counter {
-	&Apache::lonnet::transfer_profile_to_env();
+	&Apache::lonnet::transfer_profile_to_env(undef,undef,1);
 	$state = $env{'form.counter'};
     }
 
@@ -1025,7 +1025,7 @@
     }
     sub get_problem_counter {
 	if ($Apache::lonxml::counter_changed) { &store_counter() }
-	&Apache::lonnet::transfer_profile_to_env();
+	&Apache::lonnet::transfer_profile_to_env(undef,undef,1);
 	return $env{'form.counter'};
     }
 }
@@ -1329,7 +1329,6 @@
 <input type="submit" name="viewmode" accesskey="v" value="$lt{'vi'}" />
 BUTTONS
       $buttons.=&Apache::lonhtmlcommon::spelllink('xmledit','filecont');
-      $buttons.=&Apache::lonhtmlcommon::htmlareaselectactive('filecont');
       my $editfooter=(<<ENDFOOTER);
 $initialize
 <hr />