diff options
| author | Mahendra Barad <mba@odoo.com> | 2018-09-07 13:46:20 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-09-07 14:39:32 +0200 |
| commit | f81f85eba2eebb71671c7bc677bd872e2e3311d8 (patch) | |
| tree | c3a0562cc913b9b843257a2ad08a1a3f208908a9 /addons/note/static | |
| parent | 9c277c6b6d00415c02c8b0a79556905bcfb82207 (diff) | |
[IMP] base: properly focus search input in settings
Before this commit, the search input was focused everytime the settings
view was rendered after a timeout of 0. This is not considered as correct.
It is fragile as asynchronous code could break in many situations.
This commit fixes that behavior by using a hook 'on_attach_callback' which
is called when the widget is put in the DOM.
This commit is linked to task ID 47221 and PR #26483.
Diffstat (limited to 'addons/note/static')
0 files changed, 0 insertions, 0 deletions
