temporary quick n dirty fix
This commit is contained in:
parent
dbfa8280b2
commit
9d37c24dae
@ -27,7 +27,8 @@ function new_task() {
|
||||
})
|
||||
.fail(function(request) {
|
||||
let input = $("input", template);
|
||||
input.after("ERROR:" + request.responseJSON.errors.join(" "))
|
||||
input.after("ERROR:" + request.responseJSON.errors.join(" "));
|
||||
input.next()
|
||||
.css("background-color", "red")
|
||||
.css("color", "white");
|
||||
input.remove();
|
||||
@ -47,7 +48,6 @@ function new_api_key() {
|
||||
$("#new-api-key").before(template);
|
||||
})
|
||||
.fail(function(request) {
|
||||
console.log(request);
|
||||
$("code", template)
|
||||
.css("background-color", "red")
|
||||
.css("color", "white")
|
||||
|
Loading…
Reference in New Issue
Block a user