This is an automated email from the ASF dual-hosted git repository. ppawar pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new abb08c92e ATLAS-4751 : Search Results download window appears without clicking on the icon abb08c92e is described below commit abb08c92ed393ddc5cb6a1dd4da4bf7dcf778320 Author: Farhan Khan <farhan.k...@freestoneinfotech.com> AuthorDate: Mon May 15 16:13:30 2023 +0530 ATLAS-4751 : Search Results download window appears without clicking on the icon Signed-off-by: Prasad Pawar <prasad.pa...@freestoneinfotech.com> --- dashboardv2/public/css/scss/downloads.scss | 3 ++- dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js | 4 +--- dashboardv3/public/css/scss/downloads.scss | 3 ++- dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js | 5 +---- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/dashboardv2/public/css/scss/downloads.scss b/dashboardv2/public/css/scss/downloads.scss index 73be3b3cd..f5f28a633 100644 --- a/dashboardv2/public/css/scss/downloads.scss +++ b/dashboardv2/public/css/scss/downloads.scss @@ -16,9 +16,10 @@ .downloads-panel { width: 25%; + max-width: 450px; position: fixed; top: 65px; - right: -400px; + right: -700px; color: #686868; font-size: 16px; z-index: 999; diff --git a/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js b/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js index 85335eef5..3516d7d81 100644 --- a/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js +++ b/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js @@ -140,15 +140,13 @@ define(['require', this.ui.downloadsPanel.css("right", "20px"); }, onHideDownloads: function() { - this.ui.downloadsPanel.css("right", "-400px") + this.ui.downloadsPanel.css("right", "-700px") }, showLoader: function() { this.$('.downloadListLoader').show(); - this.$('.downloadListOverlay').show(); }, hideLoader: function(options) { this.$('.downloadListLoader').hide(); - this.$('.downloadListOverlay').hide(); } }); return DownloadSearchResultLayoutView; diff --git a/dashboardv3/public/css/scss/downloads.scss b/dashboardv3/public/css/scss/downloads.scss index 9c1ced6fa..3d2336968 100644 --- a/dashboardv3/public/css/scss/downloads.scss +++ b/dashboardv3/public/css/scss/downloads.scss @@ -16,9 +16,10 @@ .downloads-panel { width: 25%; + max-width: 450px; position: fixed; top: 65px; - right: -400px; + right: -700px; color: #686868; font-size: 16px; z-index: 999; diff --git a/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js b/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js index 85335eef5..6b7156448 100644 --- a/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js +++ b/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js @@ -82,7 +82,6 @@ define(['require', onRender: function() { this.ui.toggleDownloads.attr("data-original-title", "Display All Files"); }, - initializeValues: function() {}, fetchDownloadsData: function() { var that = this; var apiObj = { @@ -140,15 +139,13 @@ define(['require', this.ui.downloadsPanel.css("right", "20px"); }, onHideDownloads: function() { - this.ui.downloadsPanel.css("right", "-400px") + this.ui.downloadsPanel.css("right", "-700px") }, showLoader: function() { this.$('.downloadListLoader').show(); - this.$('.downloadListOverlay').show(); }, hideLoader: function(options) { this.$('.downloadListLoader').hide(); - this.$('.downloadListOverlay').hide(); } }); return DownloadSearchResultLayoutView;