Debuggage script front de la page de validation du compte, le problème venant de la suppression de la possibilité de parrainage.
This commit is contained in:
parent
1114049f32
commit
cc49fca824
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user