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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2022 19:08:22 +0000 (16:08 -0300)
commit2485476b71fb5868da47253558c717d02d12e1a5
treebb1723e1856fe449ffbd8ae8588aeb4d686071b9
parent41ce80eb12e738a55c697f51ecfb32a932a38959
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>
koha-tmpl/intranet-tmpl/prog/js/resolve_claim_modal.js