From b399f9530d74e60e2e5bd67bd93b6db3a341fdd1 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Mon, 20 Jul 2015 13:22:22 +0200 Subject: [PATCH] xAPI update - add duration to xAPI --- js/questionset.js | 1 + library.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index 269c056..27be0d4 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -331,6 +331,7 @@ H5P.QuestionSet = function (options, contentId) { // Function for attaching the multichoice to a DOM element. this.attach = function (target) { + this.setActivityStarted(); if (typeof(target) === "string") { $myDom = $('#' + target); } diff --git a/library.json b/library.json index 2f96968..fbe9cd5 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "author": "Joubel AS", "coreApi": { "majorVersion": 1, - "minorVersion": 5 + "minorVersion": 6 }, "license": "cc-by-sa", "preloadedJs": [