--- loncom/homework/bridgetask.pm 2006/04/14 21:42:05 1.141 +++ loncom/homework/bridgetask.pm 2006/04/15 01:06:59 1.142 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.141 2006/04/14 21:42:05 albertel Exp $ +# $Id: bridgetask.pm,v 1.142 2006/04/15 01:06:59 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -381,7 +381,6 @@ sub start_Task { $name = &Apache::structuretags::get_resource_name($parstack,$safeeval); } - #should get back a or the neccesary stuff to start XML/MathML my ($result,$form_tag_start)= &Apache::structuretags::page_start($target,$token,$tagstack,$parstack, $parser,$safeeval,$name,&style()); @@ -840,7 +839,8 @@ DONEBUTTON } } if ($target eq 'web') { - $result.="\n\n".&Apache::lonxml::xmlend().''; + $result.="\n\n". + &Apache::loncommon::end_page({'discussion' => 1}); } } if ($target eq 'grade' && !$env{'form.webgrade'} && !$previous) {