properly reset answer area on module reset

This commit is contained in:
Victor Shnayder
2012-11-28 14:18:44 -05:00
parent b41b459712
commit 0a1b731dbc

View File

@@ -120,7 +120,7 @@ class @SelfAssessment
if @state == 'done'
$.postWithPrefix "#{@ajax_url}/reset", {}, (response) =>
if response.success
@answer_area.html('')
@answer_area.val('')
@rubric_wrapper.html('')
@hint_wrapper.html('')
@message_wrapper.html('')