From 272aef8b9d4fa69b828f8f76c0117badab3699ba Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 18 Aug 2023 10:31:35 +0100 Subject: [PATCH] Bug 29002: Trigger table reload on timeline move This patch triggers the bookings table to refresh when a booking it edited on a page where the table is visable. Test plan 1) Follow the previous test plans 2) Edit a booking 3) Note that on saving the table is updated to reflect your edit Signed-off-by: Martin Renvoize Signed-off-by: Janet McGowan Signed-off-by: Caroline Cyr La Rose Signed-off-by: Laurence Rault Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt index 24cd7e5eca..3cea863c7a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -171,7 +171,7 @@ }); putting.done(function(data) { - alert("It worked"); + bookings_table.api().ajax.reload(); callback(item); }); -- 2.39.5