summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-03 13:07:45 +0100
committerqsm-odoo <qsm@odoo.com>2018-01-05 16:23:44 +0100
commitd3cebdc4a2c8cb5c31cc56a79821b09a4d4712a8 (patch)
tree522cad493a37897b9e93d941a66ce055e5025c4b /addons/web/static/src/js/fields
parent0f1832a362492093ae4c15a004a4eab171369cb9 (diff)
[FIX] web_editor: always hide icon & video tabs when choosing bg img
This was broken in 11.0 if the media dialog was the first dialog to be opened when using the editor. This happened for two reasons: - Never use a widget (dialog)'s `$el` before it is started (opened). This was the case here. The bug is even worse in saas-11.1 as we do not allow to do that from there so it results in a JS crash. - It worked in <= saas-16 because dialogs were started at once as they did not need to load anything. In >= 11.0, the first dialog which is opened in the page needs to request the main dialog template and this takes some time. So, this fix makes sense in >= 9.0 but I chose to merge it in 11.0 as it only induces a real bug from there.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions