a
This commit is contained in:
parent
050c22f23c
commit
9fad286768
|
|
@ -275,7 +275,7 @@
|
|||
}
|
||||
|
||||
function setFeedback(type, msg) {
|
||||
// alert(msg);
|
||||
alert(msg);
|
||||
feedback.innerHTML = `
|
||||
<div class="alert alert-${type} py-2">
|
||||
<i class="fas fa-${type === 'success' ? 'check-circle' : 'exclamation-circle'} me-2"></i>
|
||||
|
|
@ -331,10 +331,8 @@
|
|||
progressCtn.classList.add('d-none');
|
||||
setProgress(0);
|
||||
|
||||
alert(xhr.status);
|
||||
// alert(xhr.responseText);
|
||||
// console.log(xhr.responseText);
|
||||
console.log(xhr);
|
||||
// alert(xhr.status);
|
||||
// console.log(xhr);
|
||||
|
||||
if (xhr.status >= 200 && xhr.status < 300) {
|
||||
setFeedback('success', '<?= _("Fichier envoyé avec succès.") ?>');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user