--- loncom/homework/structuretags.pm 2007/10/31 01:37:52 1.408 +++ loncom/homework/structuretags.pm 2007/10/31 17:40:01 1.409 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.408 2007/10/31 01:37:52 albertel Exp $ +# $Id: structuretags.pm,v 1.409 2007/10/31 17:40:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -199,7 +199,7 @@ sub page_start { } } - if (!defined($found{'body'})) { + if (!defined($found{'body'}) && $env{'request.state'} ne 'construct') { $page_start .= &Apache::lonxml::message_location(); } @@ -317,6 +317,7 @@ sub problem_edit_header {
+'.&Apache::lonxml::message_location().' '. '
'; @@ -460,9 +461,9 @@ $show_all $result.=''; $result .= ''; $result .= ''; - $result.=' + '.&Apache::lonxml::message_location().' '; return $result; }