--- loncom/interface/courseprefs.pm 2022/02/21 15:44:57 1.105 +++ loncom/interface/courseprefs.pm 2022/03/12 21:24:17 1.106 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.105 2022/02/21 15:44:57 raeburn Exp $ +# $Id: courseprefs.pm,v 1.106 2022/03/12 21:24:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2815,6 +2815,16 @@ function toggleLinkProtReqUser(form,item } return; } + +function uncheckLinkProtMakeVis(item,num) { + if (document.getElementById('linkprot_'+item+'_'+num)) { + var currtype = document.getElementById('linkprot_'+item+'_'+num).type; + if (currtype.toLowerCase() == 'checkbox') { + document.getElementById('linkprot_'+item+'_'+num).checked = false; + } + } + return; +} ENDSCRIPT } @@ -5764,13 +5774,13 @@ sub print_linkprotection { '  '; } else { $datatable .= ''.$desc{'secret'}.':'. ''. - ''. + ''. ''; } } @@ -5822,7 +5832,7 @@ sub print_linkprotection { $datatable .= ''.$desc{'key'}.': '."\n". (' 'x2). ''.$desc{'secret'}.':'. - ' '."\n"; + ' '."\n"; } if ($ltiauth) { $datatable .= ''.