From 9dea7fb667bd4ca30ffea1389a6e54ac971e37ed Mon Sep 17 00:00:00 2001 From: Aaron Kay Date: Wed, 3 Jan 2024 11:09:01 -0700 Subject: [PATCH] Update auto_review_averager_bookmarklet.js --- auto_review_averager_bookmarklet.js | 5 +++++ 1 file changed, 5 insertions(+) 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]);