mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +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();
|
event.preventDefault();
|
||||||
|
|
||||||
|
// Stop from bubbling; enter in search is just for here.
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
this._oldChange(event);
|
this._oldChange(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user