Use ajax link loading also on the higher pages in the part tables.

This commit is contained in:
Jan Böhmer 2019-03-28 13:17:46 +01:00
parent dfa7e1c93c
commit 4652339879

View file

@ -398,8 +398,14 @@ 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.');
}