Skip to content
Snippets Groups Projects
Commit 425f8d6f authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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;
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment