Commit 08b994b8 by Valera Rozuvan

Merge pull request #247 from edx/alex/fix_choiceresponse

removes choiceresponse wiping after clicking Show Answer
parents 3f2d33c5 85b4a4cc
......@@ -364,8 +364,6 @@ class @Problem
choicegroup: (element, display, answers) =>
element = $(element)
element.find('input').attr('disabled', 'disabled')
input_id = element.attr('id').replace(/inputtype_/,'')
answer = answers[input_id]
for choice in answer
......@@ -379,7 +377,6 @@ class @Problem
inputtypeHideAnswerMethods:
choicegroup: (element, display) =>
element = $(element)
element.find('input').attr('disabled', null)
element.find('label').removeClass('choicegroup_correct')
javascriptinput: (element, display) =>
......
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