--- loncom/homework/matchresponse.pm 2004/10/07 18:06:05 1.45 +++ loncom/homework/matchresponse.pm 2004/10/07 20:28:30 1.46 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.45 2004/10/07 18:06:05 albertel Exp $ +# $Id: matchresponse.pm,v 1.46 2004/10/07 20:28:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -591,6 +591,9 @@ sub start_foil { my $result=''; if ($target eq 'web' || $target eq 'tex' || $target eq 'analyze') { &Apache::lonxml::startredirection; + if ($target eq 'analyze') { + &Apache::response::check_if_computed($token,$parstack,$safeeval,'value'); + } } elsif ($target eq 'edit') { $result=&Apache::edit::tag_start($target,$token,"Foil"); my $level='-2';