mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Update add job js
This commit is contained in:
parent
5c8ca4e22d
commit
6d807d897d
@ -19,6 +19,7 @@ function SubmitAddJobForm(newJobFormElement, progressModalElement, request) {
|
|||||||
}
|
}
|
||||||
if (request.status === 400) {
|
if (request.status === 400) {
|
||||||
console.log(JSON.parse(this.responseText));
|
console.log(JSON.parse(this.responseText));
|
||||||
|
// TODO print errors under input fields.
|
||||||
}
|
}
|
||||||
if (request.status === 500) {
|
if (request.status === 500) {
|
||||||
location.reload();
|
location.reload();
|
||||||
|
Loading…
Reference in New Issue
Block a user