--- loncom/interface/domainprefs.pm 2015/03/11 17:15:40 1.160.6.57 +++ loncom/interface/domainprefs.pm 2015/03/16 13:19:09 1.160.6.59 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.160.6.57 2015/03/11 17:15:40 raeburn Exp $ +# $Id: domainprefs.pm,v 1.160.6.59 2015/03/16 13:19:09 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2953,6 +2953,10 @@ sub print_coursedefaults { $deftimeout{$type} = $staticdefaults{'postsubmit'}; } } + } else { + foreach my $type (@types) { + $deftimeout{$type} = $staticdefaults{'postsubmit'}; + } } if (!$currdefresponder) { $currdefresponder = $staticdefaults{'anonsurvey_threshold'}; @@ -3015,7 +3019,9 @@ sub print_coursedefaults { $display = 'block'; } $additional = '
'. - ''.&mt('Number of seconds submit is disabled').'
'; + &mt('Number of seconds submit is disabled').'
'. + ''.&mt('Enter 0 to remain disabled until page reload.').'
'. + '
'; foreach my $type (@types) { $additional .= '
'.&mt($type).'
'. '