mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 01:14:30 +08:00
fix samples info popup error
This commit is contained in:
parent
1b56e9d07c
commit
6f7c08fa63
1 changed files with 6 additions and 2 deletions
|
@ -89,7 +89,6 @@ function dataTableInit() {
|
|||
fnDrawCallback: function() {
|
||||
animateSpinner(this, false);
|
||||
changeToViewMode();
|
||||
sampleInfoListener();
|
||||
updateButtons();
|
||||
},
|
||||
preDrawCallback: function() {
|
||||
|
@ -145,7 +144,6 @@ function dataTableInit() {
|
|||
table.on('mousedown', function() {
|
||||
$('#samples-columns-dropdown').removeClass('open');
|
||||
});
|
||||
sampleInfoListener();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -215,6 +213,11 @@ function dataTableInit() {
|
|||
// Handle table draw event
|
||||
table.on('draw', function() {
|
||||
updateDataTableSelectAllCtrl(table);
|
||||
sampleInfoListener();
|
||||
});
|
||||
|
||||
table.on('column-reorder', function() {
|
||||
sampleInfoListener();
|
||||
});
|
||||
|
||||
return table;
|
||||
|
@ -1028,6 +1031,7 @@ function changeToEditMode() {
|
|||
li.removeClass('col-invisible');
|
||||
column.visible(true);
|
||||
}
|
||||
sampleInfoListener();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue