mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix searchbox triggered change an extra time after pressing Enter key
This commit is contained in:
parent
2b02d4e9ab
commit
b2b3caaa64
@ -64,7 +64,8 @@ export class Et2Searchbox extends Et2Textbox
|
||||
// Stop from bubbling; enter in search is just for here.
|
||||
event.stopPropagation();
|
||||
|
||||
this._oldChange(event);
|
||||
// Lose focus, which triggers change, instead of calling change handler which would trigger again when losing focus
|
||||
this.blur();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user