ATLAS-4751 : Search Results download window appears without clicking on the icon
Signed-off-by: Prasad Pawar <prasad.pawar@freestoneinfotech.com>
diff --git a/dashboardv2/public/css/scss/downloads.scss b/dashboardv2/public/css/scss/downloads.scss
index 73be3b3..f5f28a6 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 85335ee..3516d7d 100644
--- a/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/site/DownloadSearchResultLayoutView.js
@@ -140,15 +140,13 @@
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 9c1ced6..3d23369 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 85335ee..6b71564 100644
--- a/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js
+++ b/dashboardv3/public/js/views/site/DownloadSearchResultLayoutView.js
@@ -82,7 +82,6 @@
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 @@
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;