From 1b5fc92dbd907ee66baeb11b440c74a786b4e1e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Mon, 16 Jan 2023 12:23:53 +0100 Subject: [PATCH] test --- View/src/JS/dashboard.js | 2 ++ 1 file changed, 2 insertions(+) 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);