[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonconfigsettings.pm

raeburn raeburn at source.lon-capa.org
Mon Dec 27 21:32:31 EST 2021


raeburn		Tue Dec 28 02:32:31 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - For 2.11
    Backport 1.54, 1.55
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.21.4.12 loncom/interface/lonconfigsettings.pm:1.21.4.13
--- loncom/interface/lonconfigsettings.pm:1.21.4.12	Mon Dec 13 20:09:54 2021
+++ loncom/interface/lonconfigsettings.pm	Tue Dec 28 02:32:31 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.21.4.12 2021/12/13 20:09:54 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.21.4.13 2021/12/28 02:32:31 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -218,10 +218,13 @@
                 $onload .= "toggleWAF();checkWAF();updateWAF();";
             }
             if (grep(/^scantron$/, at actions)) {
-                $onload .= "toggleScantron('document.display');";
+                $onload .= "toggleScantron(document.display);";
             }
             if (grep(/^autoupdate$/, at actions)) {
-                $onload .= "toggleLastActiveDays('document.display');";
+                $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);




More information about the LON-CAPA-cvs mailing list