[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Fri Mar 13 09:30:20 EDT 2015
raeburn Fri Mar 13 13:30:20 2015 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Default timeout for disabling Submit button post-submit if no course
defaults set yet in domain config.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.257 loncom/interface/domainprefs.pm:1.258
--- loncom/interface/domainprefs.pm:1.257 Sat Mar 7 23:17:15 2015
+++ loncom/interface/domainprefs.pm Fri Mar 13 13:30:19 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.257 2015/03/07 23:17:15 raeburn Exp $
+# $Id: domainprefs.pm,v 1.258 2015/03/13 13:30:19 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2971,6 +2971,10 @@
$deftimeout{$type} = $staticdefaults{'postsubmit'};
}
}
+ } else {
+ foreach my $type (@types) {
+ $deftimeout{$type} = $staticdefaults{'postsubmit'};
+ }
}
if (!$currdefresponder) {
$currdefresponder = $staticdefaults{'anonsurvey_threshold'};
@@ -3015,7 +3019,7 @@
next if ($type eq 'community');
$additional .= '<td align="center">'.&mt($type).'<br />'.
'<input type="text" name="'.$type.'_credits"'.
- ' value="'.$defcredits{$type}.'" size="5" /></td>';
+ ' value="'.$defcredits{$type}.'" size="3" /></td>';
}
$additional .= '</tr></table></div>'."\n";
%defaultchecked = ('coursecredits' => 'off');
More information about the LON-CAPA-cvs
mailing list