summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/transcoder.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-06-27 15:17:06 +0200
committerGéry Debongnie <ged@odoo.com>2018-06-28 09:13:40 +0200
commit6d0824b894621a717cf2c56f24a394ef46b04375 (patch)
tree286b536ee0c0477dc7c47c1b7c8ff532520f2a73 /addons/web_editor/static/src/js/editor/transcoder.js
parentf70a3167eed727c1bb38808c38fd49799f3c0251 (diff)
[FIX] base: properly render settings form view after reload
Before this commit, something strange could happen after reloading a settings form view: all 'sections' were displayed. The issue was caused by the fact that the state of the view was read from the arch of the form view at render time. Also, as a form of optimization (I suppose), the settings did not call the initModules method twice, when it rerenders. This is unfortunate, because the very same method is actually responsible for removing unused sections. This fix is the safe fix, but definitely not the perfect fix (this would involve a larger change, something like reading the state from the arch once in the view (factory), then only rendering what is necessary).
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions