mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-27 15:36:39 +08:00
Fix Manage access in the experiment table view [SCI-7648] (#4752)
This commit is contained in:
parent
32e9329bcc
commit
f8d2edc2c8
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ var ExperimnetTable = {
|
|||
},
|
||||
initAccessModal: function() {
|
||||
$('#manageTaskAccess').on('click', () => {
|
||||
$(`.table-row[data-id="${this.selectedMyModules[0]}"] .open-access-modal`).click();
|
||||
$(`.table-row[data-id="${this.selectedMyModules[0]}"] .open-access-modal`)[0].click();
|
||||
});
|
||||
},
|
||||
initRenameModal: function() {
|
||||
|
@ -258,7 +258,7 @@ var ExperimnetTable = {
|
|||
});
|
||||
});
|
||||
});
|
||||
$(this.table).on('click', '.dropdown-menu', (e) => {
|
||||
$(this.table).on('click', '.assign-users-dropdown .dropdown-menu', (e) => {
|
||||
if (e.target.tagName === 'INPUT') return;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
|
Loading…
Add table
Reference in a new issue