mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
SearchResult: Use the method to toggle selection instead of setting it directly
This commit is contained in:
parent
a2724d329c
commit
2e0010d138
@ -569,7 +569,7 @@ export const SearchMixin = <T extends Constructor<Et2InputWidgetInterface &
|
|||||||
else if([" ", "Enter"].includes(event.key) && this.currentResult)
|
else if([" ", "Enter"].includes(event.key) && this.currentResult)
|
||||||
{
|
{
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
this.currentResult.selected = true;
|
this.toggleResultSelection(this.currentResult, true);
|
||||||
this.searchResultSelected();
|
this.searchResultSelected();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user