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

Commit

Permalink
New: for peer assignments default to peer grading
Browse files Browse the repository at this point in the history
  • Loading branch information
bnmnetp committed Feb 10, 2023
1 parent 4ebb35e commit 42a4382
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions views/admin/assignments.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,11 @@ <h5 style="text-align: center">Search Question Bank</h5>
autograde = 'manual';
whichto = '';
}
let atype = document.querySelector("#assign_is_peer")
if (atype.checked) {
autograde = "peer"
whichto = "all_answer"
}
let resp = await updateAssignmentRaw(node.id, null, 1, autograde, whichto);
return resp;
},
Expand Down

0 comments on commit 42a4382

Please sign in to comment.