Use variable with complete path HFJ-1695

pull/17/head
Thomas Marstrander 2016-02-22 10:38:33 +01:00
parent b42b28ab03
commit bfcf4228db
1 changed files with 1 additions and 2 deletions

View File

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