summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2017-11-28 15:25:20 +0100
committerMartin Geubelle <mge@odoo.com>2017-11-29 11:47:44 +0100
commite63c550ed1674884fd15bb2acfe3d0c445c2a76c (patch)
tree89ac5aa06ced7b231ae284ac9b27a66047e7c4e5 /addons/web/static/src/js/views/basic/basic_controller.js
parent0d48056d63286abd364e041b038c32fb1f648039 (diff)
[FIX] mail: display chatter inside the sheet
Before this revision, it was not possible to display a chatter inside a <sheet>. As the chatter is reused (when switching in edit, records, etc.), it is detached (to keep its handlers) before updating the form $el. The problem here is that the chatter was detached in `_updateView` from `$form.contents()` where the chatter is a root element ; when setting the form view html, the chatter was thus still present. This was thus only working correctly if the chatter was a direct child of <form>. To keep it displayed in all cases, we now detach it at the chatter node rendering. Closes #20032
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions