Remove selected rows after task renaming in experiment table view [SCI-7647] (#4775)

This commit is contained in:
ajugo 2023-01-10 11:08:30 +01:00 committed by GitHub
parent 1feaa5fb71
commit dd0ede1c87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {