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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 25 Jan 2007 21:02:26 -0000


albertel		Thu Jan 25 16:02:26 2007 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - BUG#5165, scantron grading was failing on old style numericalresponse
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.206 loncom/homework/caparesponse/caparesponse.pm:1.207
--- loncom/homework/caparesponse/caparesponse.pm:1.206	Tue Jan 23 17:00:16 2007
+++ loncom/homework/caparesponse/caparesponse.pm	Thu Jan 25 16:02:25 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.206 2007/01/23 22:00:16 albertel Exp $
+# $Id: caparesponse.pm,v 1.207 2007/01/25 21:02:25 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -417,6 +417,7 @@
 		&Apache::lonxml::debug($$parstack[-1] . "\n<br>");
 		
 		if ( &Apache::response::submitted('scantron')) {
+		    &add_in_tag_answer($parstack,$safeeval);
 		    my ($values,$display)=&make_numerical_bubbles($partid,$id,
 						  $target,$parstack,$safeeval);
 		    $response=$values->[$response];