--- loncom/interface/lonconfigsettings.pm 2019/07/30 11:41:26 1.21.4.10 +++ loncom/interface/lonconfigsettings.pm 2019/08/27 20:43:52 1.21.4.11 @@ -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 @@ $jscript "'cancreate_emaildomain','default');"; } } + if (grep(/^contacts$/,@actions)) { + my $customclass = 'LC_helpdesk_override'; + my $optionsprefix = 'LC_options_helpdesk_'; + $onload .= "toggleHelpdeskRow(document.display,'overrides','$customclass','$optionsprefix');"; + } + if (grep(/^scantron$/,@actions)) { + $onload .= "toggleScantron('document.display');"; + } if ($onload) { my %loaditems = ( 'onload' => $onload,