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

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 06 Jul 2004 14:58:30 -0000


sakharuk		Tue Jul  6 10:58:30 2004 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  Corrected my ows error. Sorry.
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.112 loncom/homework/optionresponse.pm:1.113
--- loncom/homework/optionresponse.pm:1.112	Tue Jul  6 10:53:00 2004
+++ loncom/homework/optionresponse.pm	Tue Jul  6 10:58:30 2004
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.112 2004/07/06 14:53:00 sakharuk Exp $
+# $Id: optionresponse.pm,v 1.113 2004/07/06 14:58:30 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -338,7 +338,7 @@
 	my $lastopt=$lastresponse{$name};
 	if ($text!~/^\s*$/) { $break='<br />'; }
 	$result.=$break;
-	if ($target eq 'web' || $target eq 'tex') {
+	if ($target eq 'web') {
 	    my $value=$Apache::response::foilgroup{$name.'.value'};
 	    if (!($text=~s|<drawoptionlist\s*/>|$value|)) {
 		if ($text=~/^\s*$/) {