diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2018-04-16 15:31:15 +0200 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2018-04-17 16:51:43 +0200 |
| commit | ddecc5079f7407966a0ab6bf5a39520d62013e00 (patch) | |
| tree | 0eec0d8e8b2b4c438283628f6bb20b627c939695 /addons/web/static/src/js/views/abstract_controller.js | |
| parent | fdef30fc2995d182fe779a777fb42ba1066c2cac (diff) | |
[FIX] web: focus the search box in kanban view
Before this fix, the focus was not set when opening a kanban view
After this fix, the focus is set on the search view (unless there is
a quick create, in which case the focus will be on the quick create)
Diffstat (limited to 'addons/web/static/src/js/views/abstract_controller.js')
| -rw-r--r-- | addons/web/static/src/js/views/abstract_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/abstract_controller.js b/addons/web/static/src/js/views/abstract_controller.js index 7f82d550425..decaf1884b2 100644 --- a/addons/web/static/src/js/views/abstract_controller.js +++ b/addons/web/static/src/js/views/abstract_controller.js @@ -106,10 +106,10 @@ var AbstractController = AbstractAction.extend(ControlPanelMixin, { * Called each time the controller is attached into the DOM. */ on_attach_callback: function () { - this.renderer.on_attach_callback(); if (this.searchView) { this.searchView.on_attach_callback(); } + this.renderer.on_attach_callback(); }, /** * Called each time the controller is detached from the DOM. |
