removes choiceresponse wiping after clicking Show Answer

This commit is contained in:
Alexander Kryklia
2013-06-22 16:13:40 +03:00
parent 88060c0590
commit 85b4a4ccab

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