[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 10 Jul 2005 22:56:28 -0000


albertel		Sun Jul 10 18:56:28 2005 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BUG#4209
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.297 loncom/homework/structuretags.pm:1.298
--- loncom/homework/structuretags.pm:1.297	Tue Jul  5 14:59:03 2005
+++ loncom/homework/structuretags.pm	Sun Jul 10 18:56:26 2005
@@ -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 @@
     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();
 	}