mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Et2Searchbox: Consume enter keypress in search to avoid triggering anything else. Just start the search.
This commit is contained in:
parent
8717033009
commit
2f81a55607
@ -61,6 +61,9 @@ export class Et2Searchbox extends Et2Textbox
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
// Stop from bubbling; enter in search is just for here.
|
||||
event.stopPropagation();
|
||||
|
||||
this._oldChange(event);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user