mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Merge pull request #4801 from aignatov-bio/ai-sci-7740-remove-task-access-button-from-action-toolbar
Remove task access button from action toolbar [SCI-7740]
This commit is contained in:
commit
65624fa6ed
2 changed files with 0 additions and 10 deletions
|
@ -190,11 +190,6 @@ var ExperimnetTable = {
|
|||
restoreMyModules: function(url, ids) {
|
||||
$.post(url, { my_modules_ids: ids, view: 'table' });
|
||||
},
|
||||
initAccessModal: function() {
|
||||
$('#manageTaskAccess').on('click', () => {
|
||||
$(`.table-row[data-id="${this.selectedMyModules[0]}"] .open-access-modal`)[0].click();
|
||||
});
|
||||
},
|
||||
initRenameModal: function() {
|
||||
$('#editTask').on('click', () => {
|
||||
$('#modal-edit-module').modal('show');
|
||||
|
@ -601,7 +596,6 @@ var ExperimnetTable = {
|
|||
this.initSorting(this);
|
||||
this.loadTable();
|
||||
this.initRenameModal();
|
||||
this.initAccessModal();
|
||||
this.initDuplicateMyModules();
|
||||
this.initMoveModulesModal();
|
||||
this.initArchiveMyModules();
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
<i class="fas fa-arrow-right"></i>
|
||||
<%= t("experiments.table.toolbar.move") %>
|
||||
</button>
|
||||
<button id="manageTaskAccess" class="btn btn-light single-object-action hidden">
|
||||
<i class="fas fa-door-open"></i>
|
||||
<%= t("experiments.table.toolbar.task_access") %>
|
||||
</button>
|
||||
<button id="archiveTask" class="btn btn-light multiple-object-action hidden only-active" data-url="<%= archive_my_modules_experiment_path(@experiment) %>" data-for="archivable">
|
||||
<i class="fas fa-archive"></i>
|
||||
<%= t("experiments.table.toolbar.archive") %>
|
||||
|
|
Loading…
Reference in a new issue