diff --git a/lms/static/coffee/src/staff_grading/staff_grading.coffee b/lms/static/coffee/src/staff_grading/staff_grading.coffee index d3102a38c5..f816f74931 100644 --- a/lms/static/coffee/src/staff_grading/staff_grading.coffee +++ b/lms/static/coffee/src/staff_grading/staff_grading.coffee @@ -292,6 +292,7 @@ class @StaffGrading @min_for_ml = response.min_for_ml @num_pending = response.num_pending @state = state_grading + @collapse_question if not @max_score? @error("No max score specified for submission.") @@ -431,7 +432,7 @@ class @StaffGrading @get_next_submission(@location) else @error('System got into invalid state for submission: ' + @state) - + collapse_question: () => @prompt_container.slideToggle() @prompt_container.toggleClass('open') diff --git a/lms/templates/instructor/staff_grading.html b/lms/templates/instructor/staff_grading.html index 21af70756a..da1d42b62a 100644 --- a/lms/templates/instructor/staff_grading.html +++ b/lms/templates/instructor/staff_grading.html @@ -50,7 +50,7 @@
@@ -62,11 +62,10 @@