Use uuid instead of h5pUUID

semantics-font
Svein-Tore Griff With 2015-03-22 12:44:55 +01:00
parent e14c24cc07
commit 93f2bcc01a
1 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ H5P.XAPIEvent.prototype.getContentXAPIId = function (instance) {
var xAPIId;
if (instance.contentId) {
xAPIId = H5PIntegration.contents['cid-' + instance.contentId].url;
if (instance.h5pUUID) {
xAPIId += '?uuid=' + instance.h5pUUID;
if (instance.uuid) {
xAPIId += '?uuid=' + instance.uuid;
}
}
return xAPIId;