parent
a4ff270d59
commit
e5232ccc1e
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
.top-block.gray-content-block.clearfix
|
.top-block.gray-content-block.clearfix
|
||||||
.pull-right
|
.pull-right
|
||||||
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
|
= 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')
|
= icon('download')
|
||||||
Download artifacts archive
|
Download artifacts archive
|
||||||
|
|
||||||
|
@ -22,6 +22,10 @@
|
||||||
.center Empty
|
.center Empty
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
|
$('.top-block').on('click', '.download', function(e) {
|
||||||
|
e.stopPropagation();
|
||||||
|
});
|
||||||
|
|
||||||
$('.tree-holder').on('click', 'tr[data-link] a', function(e) {
|
$('.tree-holder').on('click', 'tr[data-link] a', function(e) {
|
||||||
e.stopImmediatePropagation();
|
e.stopImmediatePropagation();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue