Merge pull request #247 from edx/alex/fix_choiceresponse

removes choiceresponse wiping after clicking Show Answer
This commit is contained in:
Valera Rozuvan
2013-06-25 05:55:27 -07:00

View File

@@ -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) =>