--- loncom/homework/hint.pm 2001/08/06 20:33:23 1.15 +++ loncom/homework/hint.pm 2001/08/11 17:06:52 1.17 @@ -55,7 +55,9 @@ sub end_hintgroup { } sub start_numericalhint { + my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; #do everything in end, so intervening work + &Apache::response::start_hintresponse($parstack,$safeeval); return ''; } @@ -78,7 +80,10 @@ sub end_numericalhint { my ($ad) = &Apache::inputtags::finalizeawards(split /,/ , $awards); if ($ad eq 'EXACT_ANS' || $ad eq 'APPROX_ANS') { push (@Apache::hint::which,$name); } $result=''; + } elsif ($target eq 'meta') { + $result=&Apache::response::meta_package_write('numericalhint'); } + &Apache::response::end_hintresponse(); return $result; }