From 9b46c8a173d58910b4eb025416f357263fb8fba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20J=C3=B8rgensen?= Date: Fri, 18 Jul 2014 10:50:23 +0200 Subject: [PATCH] Bugfixes --- js/h5p-content-upgrade.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/h5p-content-upgrade.js b/js/h5p-content-upgrade.js index 75e304a..d23ed24 100644 --- a/js/h5p-content-upgrade.js +++ b/js/h5p-content-upgrade.js @@ -1,3 +1,5 @@ +var H5PUpgrades = H5PUpgrades || {}; + (function ($) { var info, $container; @@ -168,7 +170,7 @@ ContentUpgrade.prototype.nextBatch = function (outData) { var self = this; - $.post(info.url, outData, function (inData) { + $.post(info.infoUrl, outData, function (inData) { if (!(inData instanceof Object)) { // Print errors from backend return self.setStatus(inData);