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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 01 Sep 2005 18:21:49 -0000


albertel		Thu Sep  1 14:21:49 2005 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BUG#4327 - bgcolor was no longer working
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.298 loncom/homework/structuretags.pm:1.299
--- loncom/homework/structuretags.pm:1.298	Sun Jul 10 18:56:26 2005
+++ loncom/homework/structuretags.pm	Thu Sep  1 14:21:47 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.298 2005/07/10 22:56:26 albertel Exp $
+# $Id: structuretags.pm,v 1.299 2005/09/01 18:21:47 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -127,7 +127,7 @@
 						  $safeeval);
 	my $bgcolor=&Apache::lonxml::get_param('bgcolor',$parstack,
 					       $safeeval);
-	$body_tag_start=&body_tag_start($background,$bgcolor);
+	$body_tag_start=&body_tag_start($target,$background,$bgcolor);
 	if ( ($target eq 'web' || $target eq 'webgrade')
 	     && $env{'request.state'} ne 'construct') {
 	    my ($symb,undef,undef,undef,$publicuser)=