version 1.107.2.2, 2003/10/15 19:54:45
|
version 1.107.2.3, 2003/10/15 21:26:46
|
Line 114 sub end_numericalresponse {
|
Line 114 sub end_numericalresponse {
|
if ( $response =~ /[^\s]/) { |
if ( $response =~ /[^\s]/) { |
my $ad; |
my $ad; |
my %previous = &Apache::response::check_for_previous($response,$partid,$id); |
my %previous = &Apache::response::check_for_previous($response,$partid,$id); |
$Apache::lonhomework::results{"resource.$partid.$id.submission"}=$response; |
|
&Apache::lonxml::debug("submitted a $response<br>\n"); |
&Apache::lonxml::debug("submitted a $response<br>\n"); |
&Apache::lonxml::debug($$parstack[-1] . "\n<br>"); |
&Apache::lonxml::debug($$parstack[-1] . "\n<br>"); |
|
|
Line 131 sub end_numericalresponse {
|
Line 130 sub end_numericalresponse {
|
$response =~ s/\\/\\\\/g; |
$response =~ s/\\/\\\\/g; |
$response =~ s/\'/\\\'/g; |
$response =~ s/\'/\\\'/g; |
} |
} |
|
$Apache::lonhomework::results{"resource.$partid.$id.submission"}=$response; |
&Apache::lonxml::debug("current $response"); |
&Apache::lonxml::debug("current $response"); |
my $expression="&caparesponse_check_list('".$response."','". |
my $expression="&caparesponse_check_list('".$response."','". |
$$parstack[-1]; |
$$parstack[-1]; |