--- loncom/homework/lonhomework.pm 2008/09/05 17:43:32 1.297 +++ loncom/homework/lonhomework.pm 2009/02/18 06:56:48 1.303 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.297 2008/09/05 17:43:32 raeburn Exp $ +# $Id: lonhomework.pm,v 1.303 2009/02/18 06:56:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -884,7 +884,7 @@ sub editxmlmode { &Apache::edit::js_change_detection(). &Apache::loncommon::resize_textarea_js(). &Apache::structuretags::setmode_javascript(). - &Apache::lonhtmlcommon::dragmath_js(); + &Apache::lonhtmlcommon::dragmath_js("EditMathPopup"); my $only_body = ($env{'environment.remote'} eq 'off')? 0 : 1; my $dragmath_button = &Apache::lonhtmlcommon::dragmath_button("LC_editxmltext",1); @@ -905,7 +905,7 @@ sub editxmlmode {
'.&mt('Problem Editing').&Apache::loncommon::help_open_topic('Problem_Editor_XML_Index').' - '.&Apache::loncommon::helpLatexCheatsheet().' + '.&Apache::loncommon::helpLatexCheatsheet('Problem_LON-CAPA_Functions','Script Functions').'
@@ -1140,7 +1140,7 @@ sub update_construct_style { && !defined($env{'form.newrandomization'})) { if ((!$env{'form.style_file'} && $env{'construct.style'}) ||$env{'form.clear_style_file'}) { - &Apache::lonnet::delenv('construct\\.style'); + &Apache::lonnet::delenv('construct.style'); } elsif ($env{'form.style_file'} && $env{'construct.style'} ne $env{'form.style_file'}) { &Apache::lonnet::appenv({'construct.style' =>