a
This commit is contained in:
parent
e27482ea8a
commit
99e2bf19e3
|
|
@ -583,8 +583,8 @@
|
|||
}),
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
alert("succes => " + data);
|
||||
console.log('Réponse JSON :', data);
|
||||
// alert("succes => " + data);
|
||||
// console.log('Réponse JSON :', data);
|
||||
if (data.success) {
|
||||
showStep('step-instructions');
|
||||
} else {
|
||||
|
|
@ -592,9 +592,9 @@
|
|||
}
|
||||
},
|
||||
error: function(xhr, status, err) {
|
||||
console.log("Demande :", xhr.responseText); // ✅ voir le HTML retourné
|
||||
// showError('Demande : Erreur de connexion au serveur');
|
||||
showError(xhr.responseText);
|
||||
//console.log("Demande :", xhr.responseText); // ✅ voir le HTML retourné
|
||||
showError('Demande : Erreur de connexion au serveur');
|
||||
// showError(xhr.responseText);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user