--- loncom/homework/structuretags.pm 2018/03/27 04:36:28 1.558 +++ loncom/homework/structuretags.pm 2018/03/30 23:50:13 1.559 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.558 2018/03/27 04:36:28 raeburn Exp $ +# $Id: structuretags.pm,v 1.559 2018/03/30 23:50:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2057,7 +2057,7 @@ sub end_problem { @Apache::inputtags::response=(); $result=&Apache::response::mandatory_part_meta; } - $result.=&Apache::response::meta_part_order(); + $result.=&Apache::response::meta_part_order('problem'); $result.=&Apache::response::meta_response_order(); } elsif ($target eq 'edit') { &Apache::lonxml::debug("in end_problem with $target, edit"); @@ -2135,6 +2135,7 @@ sub end_library { && $env{'request.state'} eq "construct") { $result.=''.&Apache::loncommon::end_page({'discussion' => 1}); } elsif ($target eq 'meta') { + $result.=&Apache::response::meta_part_order('library'); $result.=&Apache::response::meta_response_order(); } if ( $#$tagstack eq 0 && $$tagstack[0] eq 'library') {