--- rat/client/parameter.html 2025/06/26 01:28:48 1.94 +++ rat/client/parameter.html 2025/06/28 13:55:43 1.95 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.94 2025/06/26 01:28:48 raeburn Exp $ +// $Id: parameter.html,v 1.95 2025/06/28 13:55:43 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -643,11 +643,11 @@ function addIpRule(iptype) { if (frame.document.getElementById('LC_string_ipacc_inner_'+iptype)) { var innerDiv = frame.document.getElementById('LC_string_ipacc_inner_'+iptype); var ipDiv = frame.document.createElement('div'); - ipDiv.innerHTML = ''+ - 'Remove'; - frame.document.getElementById('LC_string_ipacc_inner_'+iptype).appendChild(ipDiv); + ipDiv.innerHTML = ''+"\n"+ + 'Remove'; + innerDiv.appendChild(ipDiv); } - return false; + return; } function removeIpRule(caller,iptype) { @@ -655,9 +655,12 @@ function removeIpRule(caller,iptype) { if (frame.document.getElementById('LC_string_ipacc_inner_'+iptype)) { var innerDiv = frame.document.getElementById('LC_string_ipacc_inner_'+iptype); var divToRemove = caller.closest('div'); - innerDiv.removeChild(divToRemove); - ipstringeval(); + if (divToRemove) { + innerDiv.removeChild(divToRemove); + ipstringeval(); + } } + return; } function radiostringeval(newval) { @@ -1177,20 +1180,20 @@ function draw() { } var curripaccess = [currallow,currdeny]; tablestart('IP Number/Name'); - choicewrite('