mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-07 07:26:20 +08:00
Merge pull request #588 from mlorb/ml_sci_191
Add information how many samples are selected [SCI-191]
This commit is contained in:
commit
4c85ac7bf5
1 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,9 @@ function dataTableInit() {
|
|||
animateSpinner(this, false);
|
||||
changeToViewMode();
|
||||
updateButtons();
|
||||
// Show number of selected samples info
|
||||
$('#samples_info').append('<span id="selected_info"></span>');
|
||||
$('#selected_info').html(' ('+rowsSelected.length+' entries selected)');
|
||||
},
|
||||
preDrawCallback: function() {
|
||||
animateSpinner(this);
|
||||
|
@ -218,6 +221,9 @@ function dataTableInit() {
|
|||
e.stopPropagation();
|
||||
|
||||
updateButtons();
|
||||
|
||||
// Update number of selected samples info
|
||||
$('#selected_info').html(' ('+ rowsSelected.length +' entries selected)');
|
||||
});
|
||||
|
||||
// Handle click on "Select all" control
|
||||
|
|
Loading…
Reference in a new issue