Commit 6e7287dd by Diana Huang

Fix some bugs in the peer grading problem code.

parent 51db547a
...@@ -309,6 +309,7 @@ class @PeerGradingProblem ...@@ -309,6 +309,7 @@ class @PeerGradingProblem
if Rubric.check_complete() if Rubric.check_complete()
# show button if we have scores for all categories # show button if we have scores for all categories
@show_submit_button() @show_submit_button()
@grade = Rubric.get_total_score()
...@@ -382,6 +383,7 @@ class @PeerGradingProblem ...@@ -382,6 +383,7 @@ class @PeerGradingProblem
# render common information between calibration and grading # render common information between calibration and grading
render_submission_data: (response) => render_submission_data: (response) =>
@content_panel.show() @content_panel.show()
@error_container.hide()
@submission_container.append(@make_paragraphs(response.student_response)) @submission_container.append(@make_paragraphs(response.student_response))
@prompt_container.html(response.prompt) @prompt_container.html(response.prompt)
......
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