summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/relational_fields_tests.js
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-06-22 16:23:02 +0200
committerAlexandre Kühn <aku@odoo.com>2018-06-22 16:31:54 +0200
commite503b0b3a4a521ae9f36e4c6e151bc7b80938b92 (patch)
tree676fed13ef7af183b3c5cf2a44b0406b14f38540 /addons/web/static/tests/fields/relational_fields_tests.js
parente4d3dfba49b736740522cfcb89797d90ffd4604d (diff)
[FIX] im_support: fix style of attachment button in discuss composer
Before this commit, there was a visual bug on the attachment button of a composer in discuss: instead of being next to the emoji button, it was places below it. This is due to the intent of displaying the attachment button only for threads that are not the support channel. To do so, it uses the jQuery methods `$.show()` and `$.hide()` on the considered DOM element. The problem is that these methods change the `display` attribute of the DOM element, so that when `$.show()` is called, it sets the display to `block`, which causes the visual glitch. With this commit, we use the classname `o_hidden` instead of the jQuery methods, so that the attribute `display` is unchanged.
Diffstat (limited to 'addons/web/static/tests/fields/relational_fields_tests.js')
0 files changed, 0 insertions, 0 deletions