diff options
| author | Martin Geubelle <mge@odoo.com> | 2019-02-26 16:37:13 +0000 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2019-02-27 11:39:52 +0000 |
| commit | e39bcae818847e9700299df60fd66edf5429c0e0 (patch) | |
| tree | ea719683101133cb925cc054c29347defd19b60f /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 70c8fd7f759de9109eee2dd29f2573c5f60594e9 (diff) | |
[FIX] web: avoid crash when clicking on colored m2m in list
With the BS4 update, a traceback occured when clicking on a m2m tag using colors
in a list view.
When using colors on m2m tags, the badge was wrapped inside a `dropdown-toggle`.
However, there is no `dropdown-menu` by default (it is only rendered in FormFieldMany2ManyTags
when clicking on the `.dropdown-toggle`, hence the traceback.
The `dropdown-toggle` class is now only set if necessary.
Task 1925313
closes odoo/odoo#31445
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
