Parse out the score given into an int.
This commit is contained in:
committed by
Vik Paruchuri
parent
8f4efb0456
commit
de7d6f184a
@@ -209,8 +209,8 @@ class @Problem
|
||||
fd.append('feedback', feedback)
|
||||
fd.append('submission_id', submission_id)
|
||||
fd.append('grader_id', grader_id)
|
||||
if(score)
|
||||
fd.append('score', score)
|
||||
if(score && parseInt(score) != NaN)
|
||||
fd.append('score', parseInt(score))
|
||||
|
||||
|
||||
settings =
|
||||
|
||||
Reference in New Issue
Block a user