Skip to content

Commit 304bf66

Browse files
authored
YDA-6110: do not close import modal when clicking imported group
1 parent 085973d commit 304bf66

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

group_manager/static/group_manager/js/group_manager.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,6 @@ async function processImportedRow (row) {
425425

426426
// if all is complete reload the left pane with data and setup click capability to open newly added groups in the groupmananger
427427
if ($('.import-groupname').length === $('.import-groupname-done').length) {
428-
// only enable new groups that have been successfully added
429-
$('.import-csv-group-ok').on('click', function () {
430-
const groupName = 'research-' + $(this).attr('groupname')
431-
$('#dlg-import-groups-csv').modal('hide')
432-
Yoda.groupManager.unfoldToGroup(groupName)
433-
Yoda.groupManager.selectGroup(groupName)
434-
})
435-
436428
// Renew the data of the left pane as new groups have been added not yet loaded.
437429
Yoda.call('group_data').then((groupdata) => {
438430
Yoda.groupManager.groupHierarchy = groupdata.group_hierarchy

0 commit comments

Comments
 (0)