--- loncom/interface/lonconfigsettings.pm 2022/02/21 16:12:49 1.21.4.13.2.4 +++ loncom/interface/lonconfigsettings.pm 2022/03/12 23:11:47 1.21.4.13.2.5 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: lonconfigsettings.pm,v 1.21.4.13.2.4 2022/02/21 16:12:49 raeburn Exp $ +# $Id: lonconfigsettings.pm,v 1.21.4.13.2.5 2022/03/12 23:11:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -147,39 +147,61 @@ $linkprot_check .= <{'linkprot'}})); for (my $i=0; $i<=$posslti; $i++) { my $num = $i; @@ -367,6 +401,9 @@ $jscript $onload .= "toggleLinkProtReqUser(document.display,'requser','optional','1','block','$num');". "toggleLinkProtReqUser(document.display,'mapuser','userfield','other','inline-block','$num');"; } + if ($ishome) { + $onload .= "uncheckLinkProtMakeVis('visible','$num');"; + } } } }