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

raeburn raeburn at source.lon-capa.org
Thu Sep 15 22:27:59 EDT 2011


raeburn		Fri Sep 16 02:27:59 2011 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  - Fix change in 1.177.
    - also retrieve response where this is not multiline bubblesheet grading.
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.177 loncom/homework/optionresponse.pm:1.178
--- loncom/homework/optionresponse.pm:1.177	Tue Sep 13 21:42:58 2011
+++ loncom/homework/optionresponse.pm	Fri Sep 16 02:27:59 2011
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.177 2011/09/13 21:42:58 raeburn Exp $
+# $Id: optionresponse.pm,v 1.178 2011/09/16 02:27:59 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -279,12 +279,14 @@
                   }
                   $temp += $numrows;
               } else {
+                  $response=&Apache::response::getresponse($temp);
                   if ($response=~/\S/) {
                       $response = $opt[$response];
                   }
                   $temp ++;
               }
 	  } else {
+              $response=&Apache::response::getresponse($temp);
               $temp ++;
           }
 	  if ( $response =~ /[^\s]/) {




More information about the LON-CAPA-cvs mailing list