mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
Remove selected rows after task renaming in experiment table view [SCI-7647] (#4775)
This commit is contained in:
parent
1feaa5fb71
commit
dd0ede1c87
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,8 @@ var ExperimnetTable = {
|
|||
let id = $('#modal-edit-module').data('id');
|
||||
let newValue = $('#edit-module-name-input').val();
|
||||
|
||||
$(`.my-module-selector[data-my-module="${id}"]`).click();
|
||||
|
||||
if (newValue === $(`#taskName${id}`).data('full-name')) {
|
||||
$('#modal-edit-module').modal('hide');
|
||||
return false;
|
||||
|
@ -445,6 +447,7 @@ var ExperimnetTable = {
|
|||
},
|
||||
clearRowTaskSelection: function() {
|
||||
this.selectedMyModules = [];
|
||||
$('.select-all-checkboxes .sci-checkbox').prop('checked', false);
|
||||
this.updateExperimentToolbar();
|
||||
},
|
||||
initNewTaskModal: function(table) {
|
||||
|
|
Loading…
Reference in a new issue