Send context id together with post data in order to determine our context.

HFJ-1964
pull/22/head
Thomas Marstrander 2016-05-30 10:35:06 +02:00
parent bba5190876
commit 73a23d4679
1 changed files with 2 additions and 1 deletions

View File

@ -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 {