Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 42a4382

Browse files
committed
New: for peer assignments default to peer grading
1 parent 4ebb35e commit 42a4382

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

views/admin/assignments.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,11 @@ <h5 style="text-align: center">Search Question Bank</h5>
416416
autograde = 'manual';
417417
whichto = '';
418418
}
419+
let atype = document.querySelector("#assign_is_peer")
420+
if (atype.checked) {
421+
autograde = "peer"
422+
whichto = "all_answer"
423+
}
419424
let resp = await updateAssignmentRaw(node.id, null, 1, autograde, whichto);
420425
return resp;
421426
},

0 commit comments

Comments
 (0)