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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Aug 2004 16:01:18 -0000


albertel		Tue Aug 24 12:01:18 2004 EDT

  Modified files:              
    /loncom/homework	hint.pm 
  Log:
  - sigh BUG#3372
  
  
Index: loncom/homework/hint.pm
diff -u loncom/homework/hint.pm:1.55 loncom/homework/hint.pm:1.56
--- loncom/homework/hint.pm:1.55	Tue Aug 24 11:56:13 2004
+++ loncom/homework/hint.pm	Tue Aug 24 12:01:18 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # implements the tags that control the hints
 #
-# $Id: hint.pm,v 1.55 2004/08/24 15:56:13 albertel Exp $
+# $Id: hint.pm,v 1.56 2004/08/24 16:01:18 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -64,7 +64,7 @@
 	$result .= '\keephidden{';
     } elsif ($target eq 'edit') {
 	$result.=&Apache::edit::tag_start($target,$token);
-	$result.=&Apache::edit::select_arg('Show hint even if problem Correct:','showoncorrect',[['no',&mt('No')],['yes',&mt('Yes')]]);
+	$result.=&Apache::edit::select_arg('Show hint even if problem Correct:','showoncorrect',[['no',&mt('No')],['yes',&mt('Yes')]],$token);
 	$result.=&Apache::edit::end_row().&Apache::edit::start_spanning_row();
     } elsif ($target eq 'modified') {
 	my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'showoncorrect');