Commit de7d6f18 by Diana Huang Committed by Vik Paruchuri

Parse out the score given into an int.

parent 8f4efb04
...@@ -209,8 +209,8 @@ class @Problem ...@@ -209,8 +209,8 @@ class @Problem
fd.append('feedback', feedback) fd.append('feedback', feedback)
fd.append('submission_id', submission_id) fd.append('submission_id', submission_id)
fd.append('grader_id', grader_id) fd.append('grader_id', grader_id)
if(score) if(score && parseInt(score) != NaN)
fd.append('score', score) fd.append('score', parseInt(score))
settings = settings =
......
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