diff --git a/assets/ts_src/ajax_ui.ts b/assets/ts_src/ajax_ui.ts index 50834347..5c293e9b 100644 --- a/assets/ts_src/ajax_ui.ts +++ b/assets/ts_src/ajax_ui.ts @@ -398,9 +398,15 @@ class AjaxUI { //Set the correct title in the table. let title = $('#part-card-header-src'); $('#part-card-header').html(title.html()); + + //Attach event listener to update links after new page selection: + $('#dt').on('draw.dt', function() { + ajaxUI.registerLinks(); + }); }); }); + console.debug('Datatables inited.'); } }