--- loncom/xml/lonxml.pm 2001/08/30 21:19:45 1.128 +++ loncom/xml/lonxml.pm 2001/09/14 20:18:13 1.129 @@ -664,6 +664,11 @@ sub setup_globals { $Apache::lonxml::metamode = 1; $Apache::lonxml::evaluate = 1; $Apache::lonxml::import = 0; + } elsif ($target eq 'answer') { + $Apache::lonxml::redirection = 0; + $Apache::lonxml::metamode = 1; + $Apache::lonxml::evaluate = 1; + $Apache::lonxml::import = 1; } elsif ($target eq 'grade') { &startredirection; $Apache::lonxml::metamode = 0;