Skip to content
Snippets Groups Projects
Commit ce47bf94 authored by Frode Petterson's avatar Frode Petterson
Browse files

JI-2080 Add H5PIntegration Hub object to init

parent 7f4fded5
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
H5PEditor.contentId = H5PIntegration.editor.nodeVersionId; H5PEditor.contentId = H5PIntegration.editor.nodeVersionId;
} }
if (H5PIntegration.editor.hub !== undefined) {
H5PIntegration.Hub = {
contentSearchUrl: H5PIntegration.editor.hub.contentSearchUrl
};
}
var h5peditor; var h5peditor;
$create.hide(); $create.hide();
var library = $library.val(); var library = $library.val();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment