manager: don't follow row URL on right click (#45839)

This commit is contained in:
Frédéric Péters 2020-08-11 18:32:11 +02:00
parent a2f4309537
commit d537ade487
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@
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 if (e.which == 3) {
// right click, nothing
} else {
window.location.href = $(this).data('url');
}