diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-04-25 13:52:21 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-26 11:19:20 +0200 |
| commit | 8f9362809e91ff7c2876ab464017abb13a4e0974 (patch) | |
| tree | f45fb037165adfdbe0ab7e6b6ba729862d43cdc4 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 6fe55c370d2868152fabec18f38935a980890179 (diff) | |
[FIX] web: FormView: notebook: activate first visible tab
In a notebook, tabs may have an invisible attrs. The first visible
tab should be active in any case. This wasn't working at the first
rendering of the view, because the invisible attrs was evaluated
for each tab, before processing the next ones, so the it couldn't
find a next tab to activate.
This fix ensures to process all tabs (i.e. generate their DOM
element) before evaluating their invisible attrs, and trying to
find which tab to activate.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
