summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend/fields.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-08-18 16:39:59 +0200
committerqsm-odoo <qsm@odoo.com>2017-08-21 10:57:28 +0200
commit9af8d5e6dea52016ee4bd3dee1f06d1129dfa8d3 (patch)
tree52136020df67bdb8d96fbda2258e1690616e7d1c /addons/web_editor/static/src/js/backend/fields.js
parent9a58e95edf859895ce7c654f7ede6bf75d27b02c (diff)
[IMP] web_editor: make HTML editor select2 dropdown better
In saas-15, the LESS editor was introduced alongside the use of the select2 library to style the <select/> element which allows to choose the view / less file to edit. The problem is that the default behavior of the select2 library is to open a dropdown with a max-height of 200px and a width equals to the <select/> element (with no regards to the dropdown content). In most cases, the dropdown was then displaying only a few results, broken over multiple lines. Now, the dropdown is restyled so that it has no maximum height, no set width and more readable content.
Diffstat (limited to 'addons/web_editor/static/src/js/backend/fields.js')
0 files changed, 0 insertions, 0 deletions