mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-04 10:54:30 +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() {
|
initAccessModal: function() {
|
||||||
$('#manageTaskAccess').on('click', () => {
|
$('#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() {
|
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;
|
if (e.target.tagName === 'INPUT') return;
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
Loading…
Add table
Reference in a new issue