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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 17 Oct 2023 11:25:51 +0000 (12:25 +0100)
commitf646329ee4a7d244fd4ae179e592360e3024efab
tree50fbe91f5aa42188fdbb43ddde1880d7979ddc79
parent8f04bc45b44ba5ee0a597638765f2da0115b6ae3
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>
(cherry picked from commit 7d80a1df25a1c4e726bcf148e1c2432ea8c9a007)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit e27ae1d138e3cfa268feb5fc4be05059181f47e4)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js