mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Exclude multiselect rows from the open new tab feature
This commit is contained in:
parent
2c1abe13a1
commit
26d696372f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user