--- loncom/homework/structuretags.pm 2000/12/04 21:51:30 1.19 +++ loncom/homework/structuretags.pm 2000/12/05 22:07:26 1.20 @@ -64,7 +64,7 @@ sub end_problem { } elsif ($Apache::inputtags::part eq '0') { # if part is zero, no s existed, so we need show the current # grading status - $result.= &Apache::inputtags::gradestatus; + $result.= &Apache::inputtags::gradestatus($Apache::inputtags::part); } if ($target eq 'web') { $result.="\n"; } } else { @@ -196,7 +196,7 @@ sub end_part { &Apache::lonxml::debug("in end_part $target "); if ( $target eq 'meta' ) { return ''; } if ( $target eq 'grade' ) { return &Apaceh::inputtags::grade; } - return &Apache::inputtags::gradestatus; + return &Apache::inputtags::gradestatus($Apache::inputtags::part); } 1;