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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 03 Dec 2004 21:54:46 -0000


albertel		Fri Dec  3 16:54:46 2004 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - WARNIGNS weren't being emmitted in remote CSTR for .problems
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.273 loncom/homework/structuretags.pm:1.274
--- loncom/homework/structuretags.pm:1.273	Tue Nov 30 18:28:57 2004
+++ loncom/homework/structuretags.pm	Fri Dec  3 16:54:46 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.273 2004/11/30 23:28:57 albertel Exp $
+# $Id: structuretags.pm,v 1.274 2004/12/03 21:54:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -91,6 +91,7 @@
     if (!defined($found{'body'}) && $ENV{'request.state'} eq 'construct'
 	&& $ENV{'environment.remote'} eq 'off') {
 	$body_tag_start=&Apache::loncommon::bodytag();
+	$body_tag_start.=&Apache::lonxml::message_location();
     } elsif (!defined($found{'body'})) {
 	$body_tag_start='<body onload="'.&Apache::lonmenu::loadevents().'" '.
 	    'onunload="'.&Apache::lonmenu::unloadevents().'" ';