manager: don't manually handle clicks when parent is a link (#45726)
This commit is contained in:
parent
392e0af5a5
commit
9a695869af
|
@ -173,8 +173,8 @@
|
|||
});
|
||||
$(document).on('click.manager', 'table tr[data-url][rel=popup]', displayPopup);
|
||||
$(document).on('mouseup.manager', 'table tr[data-url]:not([rel=popup])', function (e) {
|
||||
var $target = $(event.target);
|
||||
if ($target.is('a')) return false;
|
||||
var $target = $(e.target);
|
||||
if ($target.is('a') || $target.parents('a').length) return false;
|
||||
if (e.which == 2 || e.ctrlKey) {
|
||||
window.open($(this).data('url'), '_blank');
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue