diff --git a/lms/static/coffee/src/staff_grading/staff_grading.coffee b/lms/static/coffee/src/staff_grading/staff_grading.coffee index 65cf85fd8d..5bbf72529e 100644 --- a/lms/static/coffee/src/staff_grading/staff_grading.coffee +++ b/lms/static/coffee/src/staff_grading/staff_grading.coffee @@ -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)]