Exclude multiselect rows from the open new tab feature

This commit is contained in:
Jennifer Mourek 2019-05-21 14:35:21 +02:00
parent 2c1abe13a1
commit 26d696372f
1 changed files with 2 additions and 2 deletions

View File

@ -457,8 +457,8 @@
return true;
}
// Check for ctrl or cmd click to open new tab
if (event.ctrlKey || event.metaKey) {
// Check for ctrl or cmd click to open new tab unless clicking on a multiselect row
if ((event.ctrlKey || event.metaKey) && ! $a.parent().parent('table.multiselect').length > 0) {
window.open(href, linkTarget);
return false;
}