Do not use progress bar when downloading build artifacts

Closes #12491
This commit is contained in:
Grzegorz Bizon 2016-01-21 15:05:51 +01:00
parent a4ff270d59
commit e5232ccc1e
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@
.top-block.gray-content-block.clearfix
.pull-right
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
class: 'btn btn-default' do
class: 'btn btn-default download' do
= icon('download')
Download artifacts archive
@ -22,6 +22,10 @@
.center Empty
:javascript
$('.top-block').on('click', '.download', function(e) {
e.stopPropagation();
});
$('.tree-holder').on('click', 'tr[data-link] a', function(e) {
e.stopImmediatePropagation();
});