[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm

foxr lon-capa-cvs-allow@mail.lon-capa.org
Tue, 07 Oct 2008 10:13:11 -0000


foxr		Tue Oct  7 06:13:11 2008 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  SUpport parameterizing the math popup so different applets can be 
  selected in different contexts.`
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.297 loncom/homework/lonhomework.pm:1.298
--- loncom/homework/lonhomework.pm:1.297	Fri Sep  5 13:43:32 2008
+++ loncom/homework/lonhomework.pm	Tue Oct  7 06:13:06 2008
@@ -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.298 2008/10/07 10:13:06 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -884,7 +884,7 @@
 	    &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);