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

raeburn raeburn at source.lon-capa.org
Tue Aug 27 16:43:52 EDT 2019


raeburn		Tue Aug 27 20:43:52 2019 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - For 2.11
    Backport 1.37, 1.45
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.21.4.10 loncom/interface/lonconfigsettings.pm:1.21.4.11
--- loncom/interface/lonconfigsettings.pm:1.21.4.10	Tue Jul 30 11:41:26 2019
+++ loncom/interface/lonconfigsettings.pm	Tue Aug 27 20:43:52 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.21.4.10 2019/07/30 11:41:26 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.21.4.11 2019/08/27 20:43:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -209,6 +209,14 @@
                                                        "'cancreate_emaildomain','default');";
                 }
             }
+            if (grep(/^contacts$/, at actions)) {
+                my $customclass = 'LC_helpdesk_override';
+                my $optionsprefix = 'LC_options_helpdesk_';
+                $onload .= "toggleHelpdeskRow(document.display,'overrides','$customclass','$optionsprefix');";
+            }
+            if (grep(/^scantron$/, at actions)) {
+                $onload .= "toggleScantron('document.display');";
+            }
             if ($onload) {
                 my %loaditems = (
                                   'onload' => $onload,




More information about the LON-CAPA-cvs mailing list