Skip to content

Commit

Permalink
remove ability to click in the imported row group
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Jan 15, 2025
1 parent 6d87370 commit 0e5cce4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions group_manager/static/group_manager/js/group_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,13 +425,6 @@ async function processImportedRow (row) {

// if all is complete reload the left pane with data and setup click capability to open newly added groups in the groupmananger
if ($('.import-groupname').length === $('.import-groupname-done').length) {
// only enable new groups that have been successfully added
$('.import-csv-group-ok').on('click', function () {
const groupName = 'research-' + $(this).attr('groupname')
Yoda.groupManager.unfoldToGroup(groupName)
Yoda.groupManager.selectGroup(groupName)
})

// Renew the data of the left pane as new groups have been added not yet loaded.
Yoda.call('group_data').then((groupdata) => {
Yoda.groupManager.groupHierarchy = groupdata.group_hierarchy
Expand Down

0 comments on commit 0e5cce4

Please sign in to comment.