--- loncom/homework/structuretags.pm 2007/10/30 00:17:09 1.407 +++ loncom/homework/structuretags.pm 2007/11/13 23:33:01 1.413 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.407 2007/10/30 00:17:09 albertel Exp $ +# $Id: structuretags.pm,v 1.413 2007/11/13 23:33: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(); } @@ -302,22 +302,44 @@ sub remember_problem_state { sub problem_edit_header { return ''. &Apache::structuretags::remember_problem_state().' +
'; } sub problem_edit_footer { - return ' |