a
This commit is contained in:
parent
e27482ea8a
commit
99e2bf19e3
|
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user