Преглед изворни кода

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

Thomas Thümmler пре 8 месеци
родитељ
комит
996398c6bd
1 измењених фајлова са 1 додато и 1 уклоњено
  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){