From 48cb05c03769a9041cb737c648056ba68bf84b52 Mon Sep 17 00:00:00 2001 From: Peter Baratta Date: Tue, 20 Aug 2013 17:05:33 -0400 Subject: [PATCH 1/2] Reset 'correctness' visual indicator of a problem on new input Affects: Choicegroups, option inputs, textline, and formula equation inputs --- .../lib/capa/capa/templates/choicegroup.html | 2 + .../capa/templates/formulaequationinput.html | 2 +- .../lib/capa/capa/templates/optioninput.html | 2 +- common/lib/capa/capa/templates/textline.html | 2 +- .../xmodule/js/src/capa/display.coffee | 55 +++++++++++++++++++ .../spec/formula_equation_preview_spec.js | 43 ++++++++------- .../js/capa/src/formula_equation_preview.js | 8 ++- 7 files changed, 88 insertions(+), 26 deletions(-) diff --git a/common/lib/capa/capa/templates/choicegroup.html b/common/lib/capa/capa/templates/choicegroup.html index 17f7efcec4..2c0d98ec62 100644 --- a/common/lib/capa/capa/templates/choicegroup.html +++ b/common/lib/capa/capa/templates/choicegroup.html @@ -17,6 +17,7 @@ % for choice_id, choice_description in choices: