diff --git a/auto_review_averager_bookmarklet.js b/auto_review_averager_bookmarklet.js index ec9496f..efebbc4 100644 --- a/auto_review_averager_bookmarklet.js +++ b/auto_review_averager_bookmarklet.js @@ -44,6 +44,11 @@ while (graded < totalToGrade && times < totalToGrade) break; } } + else if (document.getElementById('multiple_submissions').textContent.search("no submission time") > 0 && document.getElementById('grading-box-extended').value.length == 0) { + document.getElementById('grading-box-extended').value = 0; + document.getElementById('grading-box-extended').dispatchEvent(new Event('change')); + } + document.getElementById('next-student-button').dispatchEvent(new Event('click')); xOfX = document.getElementById('x_of_x_graded').innerText.split('/'); graded = parseInt(xOfX[0]);