Make sure the contentId is set on content types
parent
1995da20bb
commit
d6db07481e
|
@ -392,6 +392,10 @@ H5P.newRunnable = function (library, contentId, $attachTo, skipResize) {
|
|||
instance.$ = H5P.jQuery(instance);
|
||||
}
|
||||
|
||||
if (instance.contentId === undefined) {
|
||||
instance.conentId = contentId;
|
||||
}
|
||||
|
||||
// Make xAPI events bubble
|
||||
// if (parent !== null && parent.trigger !== undefined) {
|
||||
// instance.on('xAPI', parent.trigger);
|
||||
|
|
Loading…
Reference in New Issue