--- loncom/homework/functionplotresponse.pm 2013/12/17 00:33:42 1.105
+++ 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.105 2013/12/17 00:33:42 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;
}
}
@@ -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)
- .'
'.&mt('Function Plot Question').' | '
+ .'
'.&Apache::loncommon::insert_folding_button().&mt('Function Plot Question').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '
.&Apache::edit::insertlist($target,$token).' '
@@ -2043,7 +2043,7 @@ sub start_functionplotruleset {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
if ($target eq 'edit') {
return &Apache::edit::start_table($token).
- ''.&mt('Function Plot Rule Set').' | '
+ ' '.&Apache::loncommon::insert_folding_button().&mt('Function Plot Rule Set').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '.
&Apache::edit::insertlist($target,$token).' '
@@ -2236,7 +2236,8 @@ sub start_functionplotelements {
if ($target eq 'edit') {
return &Apache::edit::start_table($token).
- ''.&mt('Function Plot Elements').' | '
+ ' '.&Apache::loncommon::insert_folding_button()
+ .&mt('Function Plot Elements').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '.
&Apache::edit::insertlist($target,$token).' '
| | |