adapt_framework icon indicating copy to clipboard operation
adapt_framework copied to clipboard

Class of "submitted" not added to incorrectly answered MCQ and GMCQ

Open andrewhosgood opened this issue 10 years ago • 6 comments

Pretty sure this is related to https://github.com/adaptlearning/adapt_framework/issues/921, but when answering an MCQ (or GMCQ), the class of submitted is not added to the .component-widget when you submit an incorrect answer.

Clicking "Show Answer" will add the missing class in.

Used to be: https://github.com/adaptlearning/adapt_framework/blob/v2.0.9/src/core/js/views/questionView.js#L220

Now: https://github.com/adaptlearning/adapt_framework/blame/v2.0.10/src/core/js/views/questionView.js#L148

andrewhosgood avatar Jun 06 '16 15:06 andrewhosgood

...of course I'm speculating entirely where the actual issue lies

andrewhosgood avatar Jun 06 '16 15:06 andrewhosgood

if we go ahead with something similar to what is proposed in #921, that would certainly help prevent this kind of issue from happening but otherwise I don't see how it would be related?

moloko avatar Jun 06 '16 15:06 moloko

Sorry, that's what I meant - there's some disparity between the model and the view which will be solved by #921.

When you submit the answer, it used to show marking on the item options, styled by the class of submitted. Someone pointed out to me the other day that it no longer does that.

andrewhosgood avatar Jun 06 '16 15:06 andrewhosgood

Duplicate of #1114?

tomgreenfield avatar Jun 28 '16 14:06 tomgreenfield

Yes, or rather #1114 is a duplicate of this :smirk:

andrewhosgood avatar Jun 29 '16 09:06 andrewhosgood

Done in bb2396f.

tomgreenfield avatar Jul 12 '16 15:07 tomgreenfield