Minor fix for when grade is ready to submit

This commit is contained in:
Vik Paruchuri
2013-01-14 17:47:44 -05:00
parent e748d59d78
commit 6f9c0a7d72

View File

@@ -234,7 +234,8 @@ class StaffGrading
graded_callback: () =>
@grade = $("input[name='grade-selection']:checked").val()
if score == undefined
return
# check to see whether or not any categories have not been scored
num_categories = $('table.rubric tr').length
for i in [0..(num_categories-1)]