Skip to content
Browse files

non-marked parts don't count towards anyAnswered

Questions containing information only parts began their lives as "wrong"
because the information parts were wrongly being included in the "any
answered" determination. Only parts which do marking contribute to
anyAnswered now.
  • Loading branch information...
christianp committed Aug 2, 2018
1 parent 27a43c2 commit 16a59dc65c42f7dd1b81faddc4f7be6f9653346c
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/default/files/scripts/question-display.js
@@ -246,7 +246,7 @@ Numbas.queueScript('question-display',['display-base','jme-variables','xml','sch
var anyAnswered = false;
for(var i=0;i<;i++)
anyAnswered = anyAnswered ||[i].answered;
anyAnswered = anyAnswered || ([i].doesMarking &&[i].answered);

0 comments on commit 16a59dc

Please sign in to comment.
You can’t perform that action at this time.