Skip to content
Snippets Groups Projects
Commit ca77e032 authored by srosse's avatar srosse
Browse files

OO-4524: decrease match count by switch of checks in matrix with max 1

parent c067d8c2
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,14 @@
<thead>
<tr>
#if($r.classContains($interaction,"choiceright"))
<th class="o_qti_item_kprim_text"> </th>
<th class="o_qti_item_kprim_text" scope="col"> </th>
#end
#foreach($choice2 in $orderedSet2)
#set($set2Identifier = $r.toString($choice2.identifier))
<th class="o_qti_item_kprim_input o_qti_item_kprim_input_${set2Identifier}">$r.renderKprimSpecialFlowStatics($choice2.getFlowStatics())</th>
<th class="o_qti_item_kprim_input o_qti_item_kprim_input_${set2Identifier}" scope="col">$r.renderKprimSpecialFlowStatics($choice2.getFlowStatics())</th>
#end
#if(!$r.classContains($interaction,"choiceright"))
<th class="o_qti_item_kprim_text"> </th>
<th class="o_qti_item_kprim_text" scope="col"> </th>
#end
</tr>
</thead>
......
......@@ -124,6 +124,7 @@
if(inputRightId === elementRightId) {
element.checked = false;
left.matchCount--;
right.matchCount--;
settings.matchCount--;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment