From 9deac0958b563dd4bf356b93b0e785e7bbf23e64 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Mon, 2 Dec 2024 19:06:28 -0600 Subject: [PATCH] ensure library import to collection modal closes This fixes seleniums failing in `lib/galaxy_test/selenium/test_library_to_collections.py::TestLibraryToCollections` where the modal was in the way. --- .../TopToolbar/import-to-history/import-collection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/Libraries/LibraryFolder/TopToolbar/import-to-history/import-collection.js b/client/src/components/Libraries/LibraryFolder/TopToolbar/import-to-history/import-collection.js index 4d918534756e..78828e0bb73c 100644 --- a/client/src/components/Libraries/LibraryFolder/TopToolbar/import-to-history/import-collection.js +++ b/client/src/components/Libraries/LibraryFolder/TopToolbar/import-to-history/import-collection.js @@ -54,6 +54,7 @@ var ImportCollectionModal = Backbone.View.extend({ buttons: { Continue: () => { this.showCollectionBuilder(checked_items.dataset_ids); + Galaxy.modal.hide(); }, Close: () => { Galaxy.modal.hide();