--- loncom/homework/lonhomework.pm 2005/11/21 21:51:29 1.226 +++ loncom/homework/lonhomework.pm 2005/12/15 23:27:22 1.229 @@ -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.229 2005/12/15 23:27:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -753,23 +753,28 @@ 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().' +
-
' . $xml_help . ' - +
+ +
'; &Apache::lonxml::add_messages(\$result); $request->print($result);