Commit 425f8d6f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'fix/artifacts-double-propagation' into 'master'

Fix double request issue in artifacts browser

This fixed problem with double propagation when clicking a link that lies inside tr with clicked event attached.

See merge request !2496
parents f6e14431 19608d3e
Pipeline #656560 passed with stage
......@@ -23,6 +23,10 @@
.center Empty
:javascript
$(document).on('click', 'tr[data-link]', function(e) {
$('.tree-holder').on('click', 'tr[data-link] a', function(e) {
e.stopImmediatePropagation();
});
$('.tree-holder').on('click', 'tr[data-link]', function(e) {
window.location = this.dataset.link;
});
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