--- loncom/homework/lonhomework.pm 2008/05/19 21:07:33 1.293 +++ loncom/homework/lonhomework.pm 2008/07/07 11:02:25 1.295 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.293 2008/05/19 21:07:33 www Exp $ +# $Id: lonhomework.pm,v 1.295 2008/07/07 11:02:25 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -937,6 +937,7 @@ sub editxmlmode { &Apache::loncommon::resize_textarea_js(). &Apache::structuretags::setmode_javascript(); my $only_body = ($env{'environment.remote'} eq 'off')? 0 : 1; + my $dragmath = &Apache::lonhtmlcommon::dragmath("LC_editxmltext"); my $start_page = &Apache::loncommon::start_page(&mt("EditXML [_1]",$file),$js, {'no_auto_mt_title' => 1, @@ -959,6 +960,7 @@ sub editxmlmode {
+ @@ -966,7 +968,8 @@ sub editxmlmode {
- + ' + .$dragmath.'

'.&Apache::lonxml::message_location().'