Commit d2ef85cc by Vik Paruchuri

Finalize submission after message post

parent 45036cb6
......@@ -196,6 +196,10 @@ class @CombinedOpenEnded
success: (response) =>
@gentle_alert response.message
@$('section.evaluation').slideToggle()
@message_wrapper.html(response.message_html)
@child_state = 'done'
@allow_reset = response.allow_reset
@rebind()
$.ajaxWithPrefix("#{@ajax_url}/save_post_assessment", settings)
......
......@@ -248,6 +248,8 @@ class OpenEndedModule():
if error:
success=False
self.state=self.DONE
return {'success' : success, 'msg' : "Successfully submitted your feedback."}
def get_score(self, submission, system):
......
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