1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-29 04:40:55 +02:00

add errMsg function

This commit is contained in:
Pierre-antoine Comby
2020-03-26 23:04:51 +01:00
parent 61b6aceb36
commit 49dd88dbb7
2 changed files with 10 additions and 3 deletions

View File

@ -200,7 +200,6 @@ function consume(source, dest, quantity, amount, reason, type, category, templat
"template": template
}, reset).fail(function (e) {
reset();
addMsg("Une erreur est survenue lors de la transaction : " + e.responseText, "danger");
errMsg(e.responseJSON);
});
}