--- loncom/homework/radiobuttonresponse.pm 2001/08/06 20:33:23 1.22 +++ loncom/homework/radiobuttonresponse.pm 2001/08/13 21:01:32 1.24 @@ -48,7 +48,7 @@ sub end_foilgroup { my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; my $result; - if ($target ne 'meta') { + if ($target eq 'grade' || $target eq 'web') { my $style = &Apache::lonxml::get_param('style',$parstack,$safeeval,'-2'); if ( $style eq 'survey' ) { if ($target eq 'web') { @@ -204,7 +204,9 @@ sub end_conceptgroup { } sub start_foil { - &Apache::lonxml::startredirection; + my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; + my $result=''; + if ($target eq 'web') { &Apache::lonxml::startredirection; } return ''; }