Skip to content
Snippets Groups Projects
Commit 3a2c8767 authored by XavierDo's avatar XavierDo
Browse files

[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.
parent aabe35c7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment