소스 검색

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){