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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 29 Jun 2004 22:42:51 -0000


albertel		Tue Jun 29 18:42:51 2004 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - <stringresponse> had some leftover code from when it was a sub mode of <numericalresponse> 
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.149 loncom/homework/caparesponse/caparesponse.pm:1.150
--- loncom/homework/caparesponse/caparesponse.pm:1.149	Tue Jun 15 14:34:44 2004
+++ loncom/homework/caparesponse/caparesponse.pm	Tue Jun 29 18:42:50 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.149 2004/06/15 18:34:44 www Exp $
+# $Id: caparesponse.pm,v 1.150 2004/06/29 22:42:50 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -553,9 +553,7 @@
     my $result;
     my $id = &Apache::response::start_response($parstack,$safeeval);
     if ($target eq 'meta') {
-	&Apache::response::start_response($parstack,$safeeval);
 	$result=&Apache::response::meta_package_write('stringresponse');
-	&Apache::response::end_response();
     } elsif ($target eq 'edit') {
 	$result.=&Apache::edit::tag_start($target,$token);
 	$result.=&Apache::edit::text_arg('Answer:','answer',$token);