Bug 42632: Fix "Manage bundle" after filters are shown/hidden
If "Show/Hide filters" link is clicked, the "Manage bundle" buttons do not longer work. Test plan: Edit a record, set leader 7=collection In the holding list click "Manage bundle" Click "Show filters" Click one of the "Manage bundle" button => Without this patch nothing happens => With this patch applied the table displays the nested table with the bundle details Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Anni <anni.maki-mantila@turku.fi> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
32a6c63872
commit
05840d64af
|
|
@ -1796,7 +1796,7 @@
|
|||
// bundlesEnabled is defined in catalogue_detail.inc
|
||||
if (bundlesEnabled) {
|
||||
// Add event listener for opening and closing bundle details
|
||||
$("#" + tab_id + "_table tbody").on("click", "button.details-control", function () {
|
||||
$(document).on("click", `#${tab_id}_table tbody button.details-control`, function () {
|
||||
var button = $(this);
|
||||
var tr = button.closest("tr");
|
||||
var dTable = button.closest("table").DataTable({ retrieve: true });
|
||||
|
|
|
|||
Loading…
Reference in New Issue