mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Show (iconized) links to attachments on parts table.
This commit is contained in:
parent
3e4f5a1391
commit
05d6b0aa93
5 changed files with 114 additions and 5 deletions
|
@ -526,14 +526,13 @@ class AjaxUI {
|
|||
$(document).trigger('ajaxUI:dt_loaded');
|
||||
|
||||
//Attach event listener to update links after new page selection:
|
||||
$('#dt').on('draw.dt', function() {
|
||||
$('#dt').on('draw.dt column-visibility.dt', function() {
|
||||
ajaxUI.registerLinks();
|
||||
$(document).trigger('ajaxUI:dt_loaded');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
console.debug('Datatables inited.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue