Commit e748d59d by Vik Paruchuri

Bug fixes

parent e5c6414d
...@@ -203,7 +203,7 @@ class StaffGrading ...@@ -203,7 +203,7 @@ class StaffGrading
@num_graded = 0 @num_graded = 0
@num_pending = 0 @num_pending = 0
@score_lst = [] @score_lst = []
@score = null @grade = null
@problems = null @problems = null
...@@ -233,7 +233,7 @@ class StaffGrading ...@@ -233,7 +233,7 @@ class StaffGrading
$('.score-selection').click => @graded_callback() $('.score-selection').click => @graded_callback()
graded_callback: () => graded_callback: () =>
@grade = $("input[name='grade-selection']:selected").val() @grade = $("input[name='grade-selection']:checked").val()
# check to see whether or not any categories have not been scored # check to see whether or not any categories have not been scored
num_categories = $('table.rubric tr').length num_categories = $('table.rubric tr').length
......
...@@ -71,10 +71,10 @@ ...@@ -71,10 +71,10 @@
</div> </div>
</div> </div>
<div class="evaluation"> <div class="evaluation">
<p class="grade-selection-container">
</p>
<p class="score-selection-container"> <p class="score-selection-container">
</p> </p>
<p class="grade-selection-container">
</p>
<textarea name="feedback" placeholder="Feedback for student (optional)" <textarea name="feedback" placeholder="Feedback for student (optional)"
class="feedback-area" cols="70" ></textarea> class="feedback-area" cols="70" ></textarea>
</div> </div>
......
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