mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-04-15 07:18:29 +02: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.
|
// Stop from bubbling; enter in search is just for here.
|
||||||
event.stopPropagation();
|
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