--- loncom/homework/lonhomework.pm 2005/11/21 21:51:29 1.226 +++ loncom/homework/lonhomework.pm 2005/12/15 23:20:55 1.227 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.226 2005/11/21 21:51:29 albertel Exp $ +# $Id: lonhomework.pm,v 1.227 2005/12/15 23:20:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -753,10 +753,13 @@ sub editxmlmode { my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef, ($env{'environment.remote'} ne 'off')); my $html=&Apache::lonxml::xmlbegin(); - $result.=$html.$bodytag. + my $head="EditXML $file". + &Apache::edit::js_change_detection().""; + + $result.=$html.$head.$bodytag. &renderpage($request,$file,['no_output_web'],1). &Apache::lonxml::message_location().' -
'. &Apache::structuretags::remember_problem_state().' @@ -768,7 +771,7 @@ sub editxmlmode {
' . $xml_help . ' -
'; &Apache::lonxml::add_messages(\$result);