[LON-CAPA-cvs] cvs: rat /client parameter.html

raeburn raeburn at source.lon-capa.org
Wed Jun 25 21:28:49 EDT 2025


raeburn		Thu Jun 26 01:28:49 2025 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - args expected by removeIpRule() changed in rev. 1.93
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.93 rat/client/parameter.html:1.94
--- rat/client/parameter.html:1.93	Wed Jun 25 20:19:12 2025
+++ rat/client/parameter.html	Thu Jun 26 01:28:48 2025
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.93 2025/06/25 20:19:12 raeburn Exp $
+// $Id: parameter.html,v 1.94 2025/06/26 01:28:48 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -1185,7 +1185,7 @@
                             '<div class="LC_string_ipacc_inner" id="LC_string_ipacc_inner_'+acctypes[i]+'">');
                 for (var j=0; j<curripaccess[i].length; j++) {
                     choicewrite('<div><input type="text" size="10" name="setip'+acctypes[i]+'" value="'+curripaccess[i][j]+'" onblur="parent.ipstringeval();" />');
-                    choicewrite('<a href="#" onclick="parent.removeIpRule(\''+acctypes[i]+'\',\''+j+'\')">Remove</a>');
+                    choicewrite('<a href="#" onclick="parent.removeIpRule(this,\''+acctypes[i]+'\')">Remove</a>');
                     choicewrite('</div>');
                 }
                 choicewrite('</div><button onclick="parent.addIpRule(\''+acctypes[i]+'\');">Add item</button>');




More information about the LON-CAPA-cvs mailing list