--- loncom/homework/inputtags.pm 2003/06/19 21:41:02 1.105 +++ loncom/homework/inputtags.pm 2003/06/24 19:18:01 1.107 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.105 2003/06/19 21:41:02 albertel Exp $ +# $Id: inputtags.pm,v 1.107 2003/06/24 19:18:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -144,6 +144,7 @@ sub start_textfield { } else { $result=$token->[4]; } + my $bodytext=&Apache::lonxml::get_all_text("/textfield",$parser); $result.=&Apache::edit::modifiedfield(); } elsif ($target eq 'tex') { my $number_of_lines = &Apache::lonxml::get_param('rows',$parstack,$safeeval); @@ -373,7 +374,7 @@ sub decideoutput { $bgcolor=$possiblecolors{'not_charged_try'}; $button = 1; } elsif ($award eq 'ERROR') { - $message = 'An error occured while trying to grade answer.'; + $message = 'An error occured while grading your answer.'; $bgcolor=$possiblecolors{'not_charged_try'}; $button = 1; } elsif ($award eq 'TOO_LONG') {