From a8a45fe16dbac08199124e81cfef5cdd03fd21d8 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Fri, 14 Apr 2023 09:47:16 +0200 Subject: [PATCH] Fix tracking of the fill-in mode (completion was not tracked correctly) --- .../parent_templates/Nottingham/models_html5/gapFill.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html b/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html index abd2135b4..be6c245d8 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html @@ -1310,11 +1310,11 @@ { this.weighting = x_currentPageXML.getAttribute("trackingWeight"); } - if (x_currentPageXML.getAttribute("interactivity") == "Drop Down Menu") + if (x_currentPageXML.getAttribute("interactivity") !== "Drag Drop") // text fill in blank or drop down { XTSetPageType(x_currentPage, 'numeric', answerData.length, this.weighting); } - else { // text fill in blank or drag & drop + else { // drag & drop XTSetPageType(x_currentPage, 'numeric', 1, this.weighting); } }