diff options
| author | XavierDo <xdo@odoo.com> | 2018-06-04 14:20:03 +0200 |
|---|---|---|
| committer | XavierDo <xdo@odoo.com> | 2018-06-04 16:49:24 +0200 |
| commit | 3a2c87674ba21347906f4ea3e63b704088103a20 (patch) | |
| tree | 55570b79da7962630fe6a207a6c6333366d84524 /addons/web/static/src/js/views/basic | |
| parent | aabe35c76cb7ed0b01476c68e04170a0ee941d0f (diff) | |
[FIX] web: getFocusableElement error in tree view
When a line in a editable tree view has no acivable element
(readonly or toggle_bollean fields only) the currentFieldIndex
will be null after selecting the row, and when trying to edit a
field (boolean field_toggle in this example) an error will be
thrown when trying to put focus on currentWidget.
We need to check that the currentWidget is not undefined.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
