Commit 69153edf authored by Mat's avatar Mat

étend le handleErrors aux autres appels AJAX

parent 24d60b41
......@@ -125,7 +125,7 @@
form.parentNode.classList.remove('hidden');
}
else if (this.status === 400) {
console.log(this.status + ' ' + this.statusText);
handleErrors(this);
}
}
});
......@@ -151,7 +151,7 @@
reloadTableOwner();
}
else if (this.status === 400) {
console.log(this.status + ' ' + this.statusText);
handleErrors(this);
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment