From 73a23d4679e436e62056981f114799add03f2b84 Mon Sep 17 00:00:00 2001 From: Thomas Marstrander Date: Mon, 30 May 2016 10:35:06 +0200 Subject: [PATCH] Send context id together with post data in order to determine our context. HFJ-1964 --- js/h5p.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/h5p.js b/js/h5p.js index 5a1c9e1..95f2caa 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1799,7 +1799,8 @@ H5P.createTitle = function (rawTitle, maxLength) { data: (data === null ? 0 : data), preload: (preload ? 1 : 0), invalidate: (invalidate ? 1 : 0), - token: H5PIntegration.tokens.contentUserData + token: H5PIntegration.tokens.contentUserData, + contextId: H5PIntegration.editor.uploadParams.contextId }; } else {