summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-06-04 14:20:03 +0200
committerXavierDo <xdo@odoo.com>2018-06-04 16:49:24 +0200
commit3a2c87674ba21347906f4ea3e63b704088103a20 (patch)
tree55570b79da7962630fe6a207a6c6333366d84524 /addons/web/static/src/js/views/basic/basic_view.js
parentaabe35c76cb7ed0b01476c68e04170a0ee941d0f (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/basic_view.js')
0 files changed, 0 insertions, 0 deletions