Skip to content

Commit

Permalink
Be more specific about where to fill in comments
Browse files Browse the repository at this point in the history
Fixes CNVS-20858 and CNVS-20711

Test plan:
 - Create a quiz with a matching question
 - Add comments on the matching answers and save
 - Edit matching question and save
 - Edit and preview quiz, maching prompts should be correct

Change-Id: I9ce30aef94769bf353fface3e5ea656af3dfbc5b
Reviewed-on: https://gerrit.instructure.com/57238
Tested-by: Jenkins
Reviewed-by: Ryan Taylor <[email protected]>
QA-Review: Michael Hargiss <[email protected]>
Product-Review: Brian Finney <[email protected]>
  • Loading branch information
yenif committed Jun 26, 2015
1 parent 2481c93 commit 773aba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/quizzes.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ define([
htmlValues: ['answer_html', 'answer_match_left_html']
});

addHTMLFeedback($answer, answer, 'answer_comment');
addHTMLFeedback($answer.find('.answer_comments'), answer, 'answer_comment');

if (answer.answer_weight > 0) {
$answer.addClass('correct_answer');
Expand Down

0 comments on commit 773aba7

Please sign in to comment.