--- rat/client/parameter.html 2022/07/07 03:37:02 1.90 +++ rat/client/parameter.html 2025/06/26 01:28:48 1.94 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.90 2022/07/07 03:37:02 raeburn Exp $ +// $Id: parameter.html,v 1.94 2025/06/26 01:28:48 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -642,26 +642,21 @@ function addIpRule(iptype) { var frame = window.frames["choices"]; if (frame.document.getElementById('LC_string_ipacc_inner_'+iptype)) { var innerDiv = frame.document.getElementById('LC_string_ipacc_inner_'+iptype); - var count = innerDiv.childNodes.length var ipDiv = frame.document.createElement('div'); ipDiv.innerHTML = ''+ - 'Remove'; + 'Remove'; frame.document.getElementById('LC_string_ipacc_inner_'+iptype).appendChild(ipDiv); } return false; } -function removeIpRule(iptype,num) { +function removeIpRule(caller,iptype) { var frame = window.frames["choices"]; if (frame.document.getElementById('LC_string_ipacc_inner_'+iptype)) { var innerDiv = frame.document.getElementById('LC_string_ipacc_inner_'+iptype); - for (var i=0; i No
'); } + if (pscat=='tex') { + tablestart('TeX file display'); + choicewrite('Value:'); + choicewrite('
'); + choicewrite('
'); + } if (pscat=='ip') { var currallow = new Array; var currdeny = new Array; @@ -1178,7 +1185,7 @@ function draw() { '
'); for (var j=0; j'); - choicewrite('Remove'); + choicewrite('Remove'); choicewrite('
'); } choicewrite(''); @@ -1835,6 +1842,7 @@ function init() { else if (pscat == 'fileext') { sopt('fileext','File Extension'); } else if (pscat == 'useslots') { sopt('useslots','Slots control access'); } else if (pscat == 'deeplink') { sopt('deeplink','Deep-linked items'); } + else if (pscat == 'tex') { sopt('texdisplay','TeX File Display'); } else { pscat = 'any'; } if (pscat != 'deeplink') { sopt('any','String Value'); } }