--- loncom/xml/scripttag.pm 2003/05/14 13:33:00 1.88
+++ loncom/xml/scripttag.pm 2003/10/30 20:20:00 1.102
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Script Vars
";
}
} elsif ($target eq "edit" ) {
#&Apache::run::run($bodytext,$safeeval);
@@ -150,6 +177,7 @@ sub start_display {
$target eq 'analyze') {
$result=''; # grade should produce no output
}
+ $Apache::lonxml::post_evaluate=0;
} elsif ($target eq "edit" ) {
#$result =
# "
<$token->[1]> output:
$bodytext
Source:
";
@@ -276,8 +304,16 @@ sub end_window {
my $result;
if ($target eq 'web') {
my $output=&Apache::lonxml::endredirection;
- $output =~ s/\"/\"\;/g;
- $result = "newwindow $output