--- loncom/interface/lonconfigsettings.pm 2022/03/10 19:35:18 1.61 +++ loncom/interface/lonconfigsettings.pm 2022/03/12 21:24:17 1.62 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: lonconfigsettings.pm,v 1.61 2022/03/10 19:35:18 raeburn Exp $ +# $Id: lonconfigsettings.pm,v 1.62 2022/03/12 21:24:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,27 +148,42 @@ $linkprot_check .= <{'linkprot'}})); for (my $i=0; $i<=$posslti; $i++) { my $num = $i; @@ -397,6 +428,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');"; + } } } }