From cc49fca82481550408e8c6f12dd986bcb719afe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Tue, 6 Apr 2021 12:52:22 +0200 Subject: [PATCH] =?UTF-8?q?Debuggage=20script=20front=20de=20la=20page=20d?= =?UTF-8?q?e=20validation=20du=20compte,=20le=20probl=C3=A8me=20venant=20d?= =?UTF-8?q?e=20la=20suppression=20de=20la=20possibilit=C3=A9=20de=20parrai?= =?UTF-8?q?nage.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/subscribeValidation.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/front/src/subscribeValidation.js b/front/src/subscribeValidation.js index 8823635..4201c83 100644 --- a/front/src/subscribeValidation.js +++ b/front/src/subscribeValidation.js @@ -26,7 +26,7 @@ const { notRequired, serverError } = require("../../lang/"+lang+"/general"); const { alreadyConnected, badLinkValidationMessage, godfatherFound, godfatherNotFound, passwordCopied, validationMessage } = require("../../lang/"+lang+"/user"); // Principaux éléments du DOM manipulés : -const codeGodfatherInput=document.getElementById("codeGodfather"); +//const codeGodfatherInput=document.getElementById("codeGodfather"); const divExplanations = document.getElementById("explanations"); const divMessage = document.getElementById("message"); const divResponse = document.getElementById("response"); @@ -110,7 +110,8 @@ const initialise = async () => document.execCommand("copy"); addElement(passwordHelp, "div", passwordCopied, "", ["success"]); }); - + + /* // Vérifie que le code/e-mail de parrainage saisi est valide : codeGodfatherInput.addEventListener("blur", function(e) { @@ -138,7 +139,7 @@ const initialise = async () => codeGodfatherInput.addEventListener("focus", function(e) { addElement(document.getElementById("codeGodfatherMessage"), "i", notRequired); - }); + });*/ // Traite de l'envoi d'une mise à jour des infos : formAccount.addEventListener("submit", function(e)