mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Deselect tr only when ctrl key pressed
This commit is contained in:
parent
2242973568
commit
5ff081d683
@ -196,8 +196,8 @@ function(Container, $, logger, URI, tpl, urlMgr, Selectable, TableMultiSelection
|
||||
selection.add(selected);
|
||||
} else {
|
||||
var oldState = selected.isActive();
|
||||
selection.clear();
|
||||
if (!oldState) {
|
||||
selection.clear();
|
||||
selection.add(selected);
|
||||
}
|
||||
}
|
||||
@ -205,8 +205,8 @@ function(Container, $, logger, URI, tpl, urlMgr, Selectable, TableMultiSelection
|
||||
|
||||
case 'single':
|
||||
oldState = selected.isActive();
|
||||
selection.clear();
|
||||
if (!oldState) {
|
||||
selection.clear();
|
||||
selection.add(selected);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user