From bfcf4228dbfbd56d3e9c0d4bee3fd2d6edbf4d1b Mon Sep 17 00:00:00 2001 From: Thomas Marstrander Date: Mon, 22 Feb 2016 10:38:33 +0100 Subject: [PATCH] Use variable with complete path HFJ-1695 --- js/h5p.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/h5p.js b/js/h5p.js index 934d8f6..06f5ccb 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1609,8 +1609,7 @@ H5P.setFinished = function (contentId, score, maxScore, time) { }; // Post the results - // TODO: Should we use a variable with the complete path? - H5P.jQuery.post(H5PIntegration.ajaxPath + 'setFinished', { + H5P.jQuery.post(H5PIntegration.ajax.setFinished, { contentId: contentId, score: score, maxScore: maxScore,