This commit is contained in:
KANE LAZENI 2026-02-23 05:52:55 +00:00
parent e27482ea8a
commit 99e2bf19e3

View File

@ -583,8 +583,8 @@
}), }),
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
alert("succes => " + data); // alert("succes => " + data);
console.log('Réponse JSON :', data); // console.log('Réponse JSON :', data);
if (data.success) { if (data.success) {
showStep('step-instructions'); showStep('step-instructions');
} else { } else {
@ -592,9 +592,9 @@
} }
}, },
error: function(xhr, status, err) { error: function(xhr, status, err) {
console.log("Demande :", xhr.responseText); // ✅ voir le HTML retourné //console.log("Demande :", xhr.responseText); // ✅ voir le HTML retourné
// showError('Demande : Erreur de connexion au serveur'); showError('Demande : Erreur de connexion au serveur');
showError(xhr.responseText); // showError(xhr.responseText);
} }
}); });
} }