--- loncom/xml/scripttag.pm 2000/11/22 21:13:35 1.25
+++ loncom/xml/scripttag.pm 2000/12/08 20:53:45 1.27
@@ -56,7 +56,10 @@ sub start_display {
if ( $target eq "modified" ) {
}
my $result=&Apache::run::run($bodytext,$safeeval);
-
+ if ($target eq 'grade' ) {
+ # grade should produce no output
+ $result='';
+ }
if ($target eq "edit" ) {
$result =
"
<$token->[1]> output:
$bodytext
Source:
";
@@ -155,6 +158,7 @@ sub start_import {
$result.=&editfield($token->[1],$bodytext);
$result.="Clickhere to edit
"
}
+ return '';
}
sub end_import {