summaryrefslogtreecommitdiff
path: root/addons/sms/static/src/js/fields_sms_widget.js
diff options
context:
space:
mode:
authorxO-Tx <mou@odoo.com>2020-06-15 07:39:51 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-11 14:38:32 +0000
commit6b7e20da3fd456821863228cc5121152e047b79d (patch)
tree5d6c039ebb01c6793ffc98f2aca1c71acfaf0b69 /addons/sms/static/src/js/fields_sms_widget.js
parent6286f8aab74268d009aff69cc654d945cc670196 (diff)
[IMP] mail : improve emoji widget code to ease overrides
This commit attempts to improve emoji widget css and code to make it easily overridable by other modules. This is done in preparation for extension by the SmsWidget that will enable the emojis support. To improve the emoji widget, the following changes have been made * remove the spacing after emoji fields by setting widget dropdown height to 0 (emoji dropdown has relative position + (height > 0) which leaves an empty space after widget fields); * hide Emoji widget when field has "invisible modifier"; * move the code that adds the emoji dropdown to another method, allowing to better understand code organization; Task ID-2224393 PR #49096
Diffstat (limited to 'addons/sms/static/src/js/fields_sms_widget.js')
0 files changed, 0 insertions, 0 deletions