summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-05-02 11:04:04 +0200
committerqsm-odoo <qsm@odoo.com>2016-05-02 11:06:09 +0200
commit89c0266b93c0f2b54b0248be642066bc919e94f1 (patch)
tree9495264cadfa9bd9d07c76415609e5c36b50a3cf /addons/web/static/src/js/framework/session_instance.js
parente3ce70a64d7da6532f50c61762c23c26a7106153 (diff)
[FIX] web_editor: backend colorpicker in editor
The web_editor.colorpicker defines a series of color buttons which toggle the bg-* and text-* classes. The problem is that themes can define new buttons whose bg-* and text-* classes only exist in the frontend. So these buttons should not be displayed in the backend. Only solution for the current implementation is to add this ugly rule (in this backend file) which hides every button and redisplayed the default ones. This fix is temporary and has to be improved in next versions.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions