[LON-CAPA-cvs] cvs: loncom /interface lonconfigsettings.pm
raeburn
raeburn at source.lon-capa.org
Mon Dec 27 21:20:07 EST 2021
raeburn Tue Dec 28 02:20:07 2021 EDT
Modified files:
/loncom/interface lonconfigsettings.pm
Log:
- Extend "zero enrollment failsafe" mechanism so it can also (optionally)
protect against unwanted drops if partial data retrieved from institutional
source for specific institutional section.
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.54 loncom/interface/lonconfigsettings.pm:1.55
--- loncom/interface/lonconfigsettings.pm:1.54 Tue Dec 28 01:33:53 2021
+++ loncom/interface/lonconfigsettings.pm Tue Dec 28 02:20:07 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: lonconfigsettings.pm,v 1.54 2021/12/28 01:33:53 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.55 2021/12/28 02:20:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -266,6 +266,9 @@
if (grep(/^autoupdate$/, at actions)) {
$onload .= "toggleLastActiveDays(document.display);";
}
+ if (grep(/^autoenroll$/, at actions)) {
+ $onload .= "toggleFailsafe(document.display);";
+ }
if (grep(/^login$/, at actions)) {
my %domservers = &Apache::lonnet::get_servers($dom);
foreach my $server (sort(keys(%domservers))) {
More information about the LON-CAPA-cvs
mailing list