From 1780eb9b8401109d9efb8d340612e27e3e4952b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 10 Jan 2023 08:07:20 +0100 Subject: [PATCH] Console.log --- WEB/View/src/JS/baseMulti.js | 2 ++ WEB/View/src/pages/Multijoueur/Partie.php | 1 + 2 files changed, 3 insertions(+) diff --git a/WEB/View/src/JS/baseMulti.js b/WEB/View/src/JS/baseMulti.js index 677e7025..7cf46382 100644 --- a/WEB/View/src/JS/baseMulti.js +++ b/WEB/View/src/JS/baseMulti.js @@ -130,6 +130,8 @@ function run() { } function saveCode(index, enigmeId) { + console.log("saveCode"); + console.log("[Savecode]index : " + index, "[Savecode]enigmeId : " + enigmeId); var xhr = new XMLHttpRequest(); // xhr.open('POST', 'http://localhost/Scripted/WEB/index.php?action=saveCode', true); xhr.open('POST', 'http://82.165.180.114/Scripted/WEB/index.php?action=saveCodeMulti', true); diff --git a/WEB/View/src/pages/Multijoueur/Partie.php b/WEB/View/src/pages/Multijoueur/Partie.php index ea17a2e8..2148dfb2 100644 --- a/WEB/View/src/pages/Multijoueur/Partie.php +++ b/WEB/View/src/pages/Multijoueur/Partie.php @@ -169,6 +169,7 @@