Browse Source

hook checkbox evaluation to Checkbox.length not to VariableName.length.

Thomas Thümmler 7 months ago
parent
commit
996398c6bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/checklist.php

+ 1 - 1
public/checklist.php

@@ -311,7 +311,7 @@
               forwardingInfo += "&Run_Range="  + runRange;
 
               var temp = '';
-              for (let i = 0; i < arrayLength; i++){
+              for (let i = 0; i < Checkboxes.length; i++){
                 var good = document.getElementById(Checkboxes[i]);
                 var comment = document.getElementById(Comments[i]);
                 if (good.checked == true){