Update criteria for peer grading progress bars.

This commit is contained in:
Diana Huang
2013-01-16 15:15:55 -05:00
parent db366d4ebb
commit 88427ea02f

View File

@@ -19,7 +19,7 @@ class PeerGrading
problem = $(element)
progress_bar = problem.find('.progress-bar')
bar_value = parseInt(problem.data('graded'))
bar_max = parseInt(problem.data('required'))
bar_max = parseInt(problem.data('required')) + bar_value
progress_bar.progressbar({value: bar_value, max: bar_max})
)