Bug 34302: (bug 28653 follow-up) Do not refresh the table if an error happened
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 27 Jul 2023 13:01:24 +0000 (15:01 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Sep 2023 15:35:50 +0000 (12:35 -0300)
commit7d80a1df25a1c4e726bcf148e1c2432ea8c9a007
tree0b48c7c1b444a00355d3b763705578db8b65643e
parent9f59ea2f61a4660a9e1f5c27a2ecca33bea89b0b
Bug 34302: (bug 28653 follow-up) Do not refresh the table if an error happened

If checkin or renew failed, we should not refresh the table or it will
hide the error message.

Test plan:
Apply the DO NOT PUSH patch
Do a renew
=> No error in the table
Apply this patch
Do a renew
=> You see the error
Revert the DO NOT PUSH patch
Do a renew
=> The table is refreshed

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js