diff --git a/View/src/JS/dashboard.js b/View/src/JS/dashboard.js index 5c60d810..342e8e05 100644 --- a/View/src/JS/dashboard.js +++ b/View/src/JS/dashboard.js @@ -32,6 +32,7 @@ } if (playersPseudo[1] != null) { + console.log("test1"); v2 = {} v2.type="line"; v2.xValueFormatString=playersPseudo[1]; @@ -41,6 +42,7 @@ xhr.responseType = 'text'; xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); var score = xhr.onload = function () { + console.log(xhr.responseText); return JSON.parse(xhr.responseText); }; xhr.send(null);