Skip to content

Commit

Permalink
BC-6752 - Fix H5P editor loading (#3429)
Browse files Browse the repository at this point in the history
  • Loading branch information
uidp authored Mar 20, 2024
1 parent 533d792 commit e53aac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/scripts/topicEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ class TopicH5P extends TopicBlock {
const { parentType, parentId } = this.props;

const editorPopup = window.open(
`/h5p/editor/${id ?? ''}?parentType=${parentType}&parentId=${parentId}&inline=1`,
`/h5p/editor/${id ?? 'new'}?parentType=${parentType}&parentId=${parentId}&inline=1`,
'h5p-editor',
`width=${w}, height=${h}, left=${x}, top=${y},
fullscreen=yes, toolbar=no, location=no, directories=no, status=no, scrollbars=yes, resizable=yes`,
Expand Down

0 comments on commit e53aac6

Please sign in to comment.