diff --git a/static/js/transfer.js b/static/js/transfer.js index 70cf10dc..feca4a0d 100644 --- a/static/js/transfer.js +++ b/static/js/transfer.js @@ -296,6 +296,7 @@ $("#btn_transfer").click(function() { addMsg("Le transfert de " + pretty_money(source.quantity * dest.quantity * amount) + " de la note " + source.name + " vers la note " + dest.name + " a échoué : Solde insuffisant", "danger", 10000); + reset(); }).fail(function (err) { addMsg("Le transfert de " + pretty_money(source.quantity * dest.quantity * amount) + " de la note " + source.name