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
This commit is contained in:
commit
425f8d6f57
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue