Bug 31085: Reload return claims table on resolve
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Jun 2022 16:53:15 +0000 (17:53 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 9 Aug 2022 21:18:15 +0000 (21:18 +0000)
commit353d00411964faf4924876bb9c96ac9eb596b76c
tree3c09034e05505123d990a312070cc8dceef341d4
parentf055a4ae654fe3fde66bd0d316fdbe98daba8f36
Bug 31085: Reload return claims table on resolve

This is another fix for a bug in return claims. We now test for the
initialised datatable and call an ajax reload directly on it if we find
one instead of calling a undefined function (the function is out of
scope here).

NOTE: Taken as a whole commit follow-up on bug 28854 where the issue was
initially identified

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2485476b71fb5868da47253558c717d02d12e1a5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/resolve_claim_modal.js