Explorar o código

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

Thomas Thümmler hai 8 meses
pai
achega
996398c6bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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){