Commit 6f9c0a7d by Vik Paruchuri

Minor fix for when grade is ready to submit

parent e748d59d
...@@ -234,7 +234,8 @@ class StaffGrading ...@@ -234,7 +234,8 @@ class StaffGrading
graded_callback: () => graded_callback: () =>
@grade = $("input[name='grade-selection']:checked").val() @grade = $("input[name='grade-selection']:checked").val()
if score == undefined
return
# check to see whether or not any categories have not been scored # check to see whether or not any categories have not been scored
num_categories = $('table.rubric tr').length num_categories = $('table.rubric tr').length
for i in [0..(num_categories-1)] for i in [0..(num_categories-1)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment