mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Display the table on single-selection rows as active without any delay
refs #8623
This commit is contained in:
parent
84f35bc79a
commit
3a85dc7f39
@ -354,18 +354,16 @@
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special checks for link clicks in multiselect rows
|
// Special checks for link clicks in action tables
|
||||||
if (! $a.is('tr[href]') && $a.closest('tr[href]').length > 0 && $a.closest('table.multiselect').length > 0) {
|
if (! $a.is('tr[href]') && $a.closest('table.action').length > 0) {
|
||||||
|
|
||||||
// ignoray clicks to ANY link with special key pressed
|
// ignoray clicks to ANY link with special key pressed
|
||||||
if (event.ctrlKey || event.metaKey || event.shiftKey)
|
if ($a.closest('table.multiselect').length > 0 && (event.ctrlKey || event.metaKey || event.shiftKey)) {
|
||||||
{
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignore inner links matching the row URL
|
// ignore inner links matching the row URL
|
||||||
if ($a.attr('href') === $a.closest('tr[href]').attr('href'))
|
if ($a.attr('href') === $a.closest('tr[href]').attr('href')) {
|
||||||
{
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user