manager: ignore row clicks when an input was clicked (#45839)
This commit is contained in:
parent
5d32b8db52
commit
a2f4309537
|
@ -174,7 +174,7 @@
|
|||
$(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 = $(e.target);
|
||||
if ($target.is('a') || $target.parents('a').length) return false;
|
||||
if ($target.is('input') || $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