Skip to content
Snippets Groups Projects
Commit 6d807d89 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Update add job js

parent 5c8ca4e2
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ function SubmitAddJobForm(newJobFormElement, progressModalElement, request) { ...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment