--- loncom/homework/structuretags.pm 2005/07/05 18:59:03 1.297 +++ loncom/homework/structuretags.pm 2005/07/10 22:56:26 1.298 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.297 2005/07/05 18:59:03 albertel Exp $ +# $Id: structuretags.pm,v 1.298 2005/07/10 22:56:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -118,7 +118,7 @@ sub page_start { my $body_tag_start; if (!defined($found{'body'}) && $env{'request.state'} eq 'construct' && $env{'environment.remote'} eq 'off') { - if ($target eq 'web') { + if ($target eq 'web' || $target eq 'edit') { $body_tag_start=&Apache::loncommon::bodytag(); $body_tag_start.=&Apache::lonxml::message_location(); }