fix double click selection

This commit is contained in:
Thijs Wenker 2018-10-22 23:03:26 +02:00
parent 776b8b8fc7
commit 8e1cfb5a06

View file

@ -239,11 +239,16 @@ function loaded() {
} }
function onRowDoubleClicked() { function onRowDoubleClicked() {
let selection = [this.dataset.entityID];
updateSelectedEntities(selection, false);
EventBridge.emitWebEvent(JSON.stringify({ EventBridge.emitWebEvent(JSON.stringify({
type: "selectionUpdate", type: "selectionUpdate",
focus: true, focus: true,
entityIds: [this.dataset.entityID], entityIds: selection,
})); }));
refreshFooter();
} }
function decimalMegabytes(number) { function decimalMegabytes(number) {