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 <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2023-08-18 10:31:35 +01:00 committed by Tomas Cohen Arazi
parent e2e0d66ac8
commit 272aef8b9d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -171,7 +171,7 @@
});
putting.done(function(data) {
alert("It worked");
bookings_table.api().ajax.reload();
callback(item);
});