version 1.113, 2004/07/15 16:43:37
|
version 1.114, 2004/08/10 19:22:32
|
Line 179 sub start_display {
|
Line 179 sub start_display {
|
$result=&Apache::run::run($bodytext,$safeeval); |
$result=&Apache::run::run($bodytext,$safeeval); |
if ($target eq 'grade' || $target eq 'answer' || |
if ($target eq 'grade' || $target eq 'answer' || |
$target eq 'analyze') { |
$target eq 'analyze') { |
$result=''; # grade should produce no output |
# grade/answer/analyxe should produce no output but if we |
|
# are redirecting, the redirecter should know what to do |
|
# with the output |
|
if (!$Apache::lonxml::redirection) { $result=''; } |
} |
} |
$Apache::lonxml::post_evaluate=0; |
$Apache::lonxml::post_evaluate=0; |
} elsif ($target eq "edit" ) { |
} elsif ($target eq "edit" ) { |