manager: ignore row clicks when an input was clicked (#45839)

This commit is contained in:
Frédéric Péters 2020-08-11 18:01:36 +02:00
parent 5d32b8db52
commit a2f4309537
1 changed files with 1 additions and 1 deletions

View File

@ -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 {