Deselect tr only when ctrl key pressed

This commit is contained in:
Alexander Klimov 2014-01-23 16:42:04 +01:00
parent 2242973568
commit 5ff081d683
1 changed files with 2 additions and 2 deletions

View File

@ -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;