Fix naming bug

This commit is contained in:
Vik Paruchuri
2013-01-14 17:50:20 -05:00
parent 6f9c0a7d72
commit 78a94a4e20

View File

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