Update add job js

This commit is contained in:
Patrick Jentsch 2019-11-18 15:41:32 +01:00
parent 5c8ca4e22d
commit 6d807d897d

View File

@ -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();