--- loncom/homework/functionplotresponse.pm 2011/01/26 20:20:50 1.52 +++ loncom/homework/functionplotresponse.pm 2011/03/24 20:05:25 1.55 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: functionplotresponse.pm,v 1.52 2011/01/26 20:20:50 www Exp $ +# $Id: functionplotresponse.pm,v 1.55 2011/03/24 20:05:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -75,7 +75,7 @@ sub geogebra_default_parameters { <param name="boxborder" value="false" /> <param name="centerimage" value="true" /> <param name="cache_archive" value="geogebra.jar, geogebra_main.jar, geogebra_gui.jar, geogebra_cas.jar, geogebra_algos.jar, geogebra_export.jar, geogebra_javascript.jar, jlatexmath.jar, jlm_greek.jar, jlm_cyrillic.jar, geogebra_properties.jar" /> - <param name="cache_version" value="3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0" /> + <param name="cache_version" value="3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0, 3.9.183.0" /> <param name="framePossible" value="false" /> <param name="showResetIcon" value="false" /> @@ -536,6 +536,12 @@ sub start_functionplotrule { $token,'8'). &Apache::edit::end_row(); } elsif ($target eq 'modified') { + if (($env{'form.'.&Apache::edit::html_element_name('xinitial')} ne '') && ($env{'form.'.&Apache::edit::html_element_name('xinitiallabel')} eq 'start')) { + $env{'form.'.&Apache::edit::html_element_name('xinitiallabel')}=''; + } + if (($env{'form.'.&Apache::edit::html_element_name('xfinal')} ne '') && ($env{'form.'.&Apache::edit::html_element_name('xfinallabel')} eq 'end')) { + $env{'form.'.&Apache::edit::html_element_name('xfinallabel')}=''; + } my $constructtag=&Apache::edit::get_new_args($token,$parstack, $safeeval,'index','derivativeorder', 'xinitial','xinitiallabel','xfinal','xfinallabel',