Commit e5232ccc authored by Grzegorz Bizon's avatar Grzegorz Bizon

Do not use progress bar when downloading build artifacts

Closes #12491
parent a4ff270d
......@@ -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();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment