Send context id together with post data in order to determine our context.
HFJ-1964pull/22/head
parent
bba5190876
commit
73a23d4679
|
@ -1799,7 +1799,8 @@ H5P.createTitle = function (rawTitle, maxLength) {
|
||||||
data: (data === null ? 0 : data),
|
data: (data === null ? 0 : data),
|
||||||
preload: (preload ? 1 : 0),
|
preload: (preload ? 1 : 0),
|
||||||
invalidate: (invalidate ? 1 : 0),
|
invalidate: (invalidate ? 1 : 0),
|
||||||
token: H5PIntegration.tokens.contentUserData
|
token: H5PIntegration.tokens.contentUserData,
|
||||||
|
contextId: H5PIntegration.editor.uploadParams.contextId
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue