Ecran de choix admin : Nouvel evenement (wizard) ou Parametres

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 18:14:47 +02:00
parent 229a388a1e
commit 7d6e4624ca
2 changed files with 22 additions and 2 deletions

View File

@@ -152,14 +152,18 @@ function validerMdpAdmin() {
const input = document.getElementById('input-mdp-admin');
if (input.value === MDP_ADMIN) {
fermerPopupMdp();
allerA('wizard');
wizardInit();
allerA('admin-choix');
} else {
document.getElementById('mdp-erreur').classList.remove('cache');
input.value = '';
}
}
function ouvrirWizard() {
allerA('wizard');
wizardInit();
}
// Valider avec Entree
document.addEventListener('keydown', (e) => {
if (e.key === 'Enter' && !document.getElementById('popup-mdp').classList.contains('cache')) {