ATLAS-4751 : Search Results download window appears without clicking on the icon

Signed-off-by: Prasad Pawar <prasad.pawar@freestoneinfotech.com>
This commit is contained in:
Farhan Khan 2023-05-15 16:13:30 +05:30 committed by Prasad Pawar
parent b9ea823103
commit b19fba2ad9
4 changed files with 6 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;