mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use ajax link loading also on the higher pages in the part tables.
This commit is contained in:
parent
dfa7e1c93c
commit
4652339879
1 changed files with 6 additions and 0 deletions
|
@ -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.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue