Display the table on single-selection rows as active without any delay

refs #8623
This commit is contained in:
Matthias Jentsch 2015-07-29 14:32:26 +02:00
parent 84f35bc79a
commit 3a85dc7f39
1 changed files with 4 additions and 6 deletions

View File

@ -354,18 +354,16 @@
return true;
}
// Special checks for link clicks in multiselect rows
if (! $a.is('tr[href]') && $a.closest('tr[href]').length > 0 && $a.closest('table.multiselect').length > 0) {
// Special checks for link clicks in action tables
if (! $a.is('tr[href]') && $a.closest('table.action').length > 0) {
// 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;
}
// 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;
}
}