--- loncom/homework/functionplotresponse.pm 2013/07/22 11:46:26 1.103 +++ loncom/homework/functionplotresponse.pm 2015/01/19 15:35:53 1.107 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # Functionplot responses # -# $Id: functionplotresponse.pm,v 1.103 2013/07/22 11:46:26 raeburn Exp $ +# $Id: functionplotresponse.pm,v 1.107 2015/01/19 15:35:53 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -73,7 +73,7 @@ sub useHTML5 { } } } elsif ($env{'browser.type'} eq 'explorer') { - if (($env{'browser.os'} eq 'win') && ($env{'browser.version'} >= 10)) { + if (($env{'browser.os'} eq 'win') && ($env{'browser.version'} == 10)) { return 1; } } @@ -183,7 +183,7 @@ sub java_geogebra_default_parameters { - + @@ -912,7 +912,7 @@ sub start_functionplotrule { $result=&Apache::edit::tag_start($target,$token,'Function Plot Graph Rule'). &Apache::edit::text_arg('Index/Name:','index', $token,'10').' '. - &Apache::edit::select_arg(&mt('Function:'),'derivativeorder', + &Apache::edit::select_arg('Function:','derivativeorder', [['0','Function itself'], ['1','First derivative'], ['2','Second derivative'], @@ -1456,7 +1456,7 @@ sub start_functionplotresponse { my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval); if ($target eq 'edit') { $result.=&Apache::edit::start_table($token) - .'