mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Clear row selection after experiment table reload [SCI-7647] (#4731)
This commit is contained in:
parent
e3036d923b
commit
2920dca900
|
@ -427,6 +427,10 @@ var ExperimnetTable = {
|
|||
.setProperty('--columns-count', $('.table-display-modal .fa-eye:not(.disabled)').length + 1);
|
||||
});
|
||||
},
|
||||
clearRowTaskSelection: function() {
|
||||
this.selectedMyModules = [];
|
||||
this.updateExperimentToolbar();
|
||||
},
|
||||
initNewTaskModal: function(table) {
|
||||
$('.experiment-new-my_module').on('ajax:success', '#new-my-module-modal', function() {
|
||||
table.loadTable();
|
||||
|
@ -507,6 +511,7 @@ var ExperimnetTable = {
|
|||
});
|
||||
|
||||
initBSTooltips();
|
||||
this.clearRowTaskSelection();
|
||||
this.initProvisioningStatusPolling();
|
||||
});
|
||||
},
|
||||
|
@ -557,7 +562,6 @@ var ExperimnetTable = {
|
|||
this.initManageColumnsModal();
|
||||
this.initNewTaskModal(this);
|
||||
this.initMyModuleActions();
|
||||
this.updateExperimentToolbar();
|
||||
this.initRestoreMyModules();
|
||||
this.initManageUsersDropdown();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue