xAPI update - add duration to xAPI

pull/1/head
Svein-Tore Griff With 2015-07-20 13:22:22 +02:00
parent 436b9d572c
commit b399f9530d
2 changed files with 2 additions and 1 deletions

View File

@ -331,6 +331,7 @@ H5P.QuestionSet = function (options, contentId) {
// Function for attaching the multichoice to a DOM element. // Function for attaching the multichoice to a DOM element.
this.attach = function (target) { this.attach = function (target) {
this.setActivityStarted();
if (typeof(target) === "string") { if (typeof(target) === "string") {
$myDom = $('#' + target); $myDom = $('#' + target);
} }

View File

@ -13,7 +13,7 @@
"author": "Joubel AS", "author": "Joubel AS",
"coreApi": { "coreApi": {
"majorVersion": 1, "majorVersion": 1,
"minorVersion": 5 "minorVersion": 6
}, },
"license": "cc-by-sa", "license": "cc-by-sa",
"preloadedJs": [ "preloadedJs": [