mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 06:37:32 +08:00
fixes bug with displaying assign/unassign button [fixes SCI-1870]
This commit is contained in:
parent
7e2392f620
commit
0d72851bb5
1 changed files with 4 additions and 4 deletions
|
@ -186,10 +186,6 @@ var RepositoryDatatable = (function(global) {
|
|||
}
|
||||
});
|
||||
|
||||
// Append button to inner toolbar in table
|
||||
$('div.toolbarButtons').appendTo('div.toolbar');
|
||||
$('div.toolbarButtons').show();
|
||||
|
||||
// Handle click on table cells with checkboxes
|
||||
$(TABLE_ID).on('click', 'tbody td', function(e) {
|
||||
if ($(e.target).is('.repository-row-selector')) {
|
||||
|
@ -210,6 +206,10 @@ var RepositoryDatatable = (function(global) {
|
|||
// Timeout for table header scrolling
|
||||
setTimeout(function() {
|
||||
TABLE.columns.adjust();
|
||||
|
||||
// Append button to inner toolbar in table
|
||||
$('div.toolbarButtons').appendTo('div.toolbar');
|
||||
$('div.toolbarButtons').show();
|
||||
}, 10);
|
||||
|
||||
return TABLE;
|
||||
|
|
Loading…
Reference in a new issue