--- loncom/homework/structuretags.pm 2003/08/30 02:40:17 1.200.2.1 +++ loncom/homework/structuretags.pm 2003/10/06 21:57:53 1.200.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.200.2.1 2003/08/30 02:40:17 albertel Exp $ +# $Id: structuretags.pm,v 1.200.2.3 2003/10/06 21:57:53 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -543,6 +543,7 @@ sub end_problem { @Apache::inputtags::response=(); $result=&Apache::response::mandatory_part_meta; } + $result.=&Apache::response::meta_part_order; } elsif ($target eq 'edit') { &Apache::lonxml::debug("in end_problem with $target, edit"); $result = &problem_edit_footer(); @@ -975,7 +976,9 @@ sub end_part { } elsif (($target eq 'web' || $target eq 'tex') && !$hidden ) { my $gradestatus=&Apache::inputtags::gradestatus($Apache::inputtags::part, $target); - if ($Apache::lonhomework::type eq 'exam') {$gradestatus='';} + if ($Apache::lonhomework::type eq 'exam' && $target eq 'tex') { + $gradestatus=''; + } $result=$gradestatus; } elsif ($target eq 'edit') { $result=&Apache::edit::end_table();