--- loncom/homework/structuretags.pm 2008/01/28 21:42:28 1.417 +++ loncom/homework/structuretags.pm 2008/08/26 03:18:29 1.429 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.417 2008/01/28 21:42:28 www Exp $ +# $Id: structuretags.pm,v 1.429 2008/08/26 03:18:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,6 +148,10 @@ sub page_start { $extra_head .= &homework_js(); + unless ($env{'environment.wysiwygeditor'} eq 'on') { + $extra_head .= &Apache::lonhtmlcommon::dragmath_js(); + } + my %body_args; if (defined($found{'html'})) { $body_args{'skip_phases'}{'head'}=1; @@ -312,24 +316,28 @@ sub remember_problem_state { '; } -sub problem_edit_header { - return ''. - &Apache::structuretags::remember_problem_state().' -