Fixed integration bug.

d6
Frode Petterson 2015-02-27 14:53:38 +01:00
parent aac10b86fa
commit 1c1829b13b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ H5P.XAPIEvent.prototype.getVerb = function(full) {
H5P.XAPIEvent.prototype.setObject = function(instance) {
if (instance.contentId) {
this.data.statement.object = {
'id': H5P.contentDatas['cid-' + instance.contentId].url,
'id': H5PIntegration.contents['cid-' + instance.contentId].url,
'objectType': 'Activity',
'extensions': {
'http://h5p.org/x-api/h5p-local-content-id': instance.contentId