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");
|
const { alreadyConnected, badLinkValidationMessage, godfatherFound, godfatherNotFound, passwordCopied, validationMessage } = require("../../lang/"+lang+"/user");
|
||||||
|
|
||||||
// Principaux éléments du DOM manipulés :
|
// Principaux éléments du DOM manipulés :
|
||||||
const codeGodfatherInput=document.getElementById("codeGodfather");
|
//const codeGodfatherInput=document.getElementById("codeGodfather");
|
||||||
const divExplanations = document.getElementById("explanations");
|
const divExplanations = document.getElementById("explanations");
|
||||||
const divMessage = document.getElementById("message");
|
const divMessage = document.getElementById("message");
|
||||||
const divResponse = document.getElementById("response");
|
const divResponse = document.getElementById("response");
|
||||||
@ -111,6 +111,7 @@ const initialise = async () =>
|
|||||||
addElement(passwordHelp, "div", passwordCopied, "", ["success"]);
|
addElement(passwordHelp, "div", passwordCopied, "", ["success"]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
// Vérifie que le code/e-mail de parrainage saisi est valide :
|
// Vérifie que le code/e-mail de parrainage saisi est valide :
|
||||||
codeGodfatherInput.addEventListener("blur", function(e)
|
codeGodfatherInput.addEventListener("blur", function(e)
|
||||||
{
|
{
|
||||||
@ -138,7 +139,7 @@ const initialise = async () =>
|
|||||||
codeGodfatherInput.addEventListener("focus", function(e)
|
codeGodfatherInput.addEventListener("focus", function(e)
|
||||||
{
|
{
|
||||||
addElement(document.getElementById("codeGodfatherMessage"), "i", notRequired);
|
addElement(document.getElementById("codeGodfatherMessage"), "i", notRequired);
|
||||||
});
|
});*/
|
||||||
|
|
||||||
// Traite de l'envoi d'une mise à jour des infos :
|
// Traite de l'envoi d'une mise à jour des infos :
|
||||||
formAccount.addEventListener("submit", function(e)
|
formAccount.addEventListener("submit", function(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user