summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-05-19 08:30:03 +0200
committerAaron Bohy <aab@odoo.com>2017-05-19 15:51:57 +0200
commita845ecffa13657922ba75dbc7f37c7bad8c0e4c0 (patch)
tree8ef24e19054b143341a9537830917207ef299a6d /addons/web/static/src/js/views/basic/basic_view.js
parent7524b8ef923692ac8498a4ac25365424b17b607a (diff)
[FIX] web_editor: field html: save changes done in code mode
Summernote doesn't call the onChange callback when changes are done in the code mode, so the html field isn't aware of those changes. It means that if the user does some changes in code mode and then save directly (without coming back to normal mode), those changes are lost. This rev. ensures to save every changes by manually come back to the normal mode before saving, as this will correctly trigger the changes. Actually, it simply restores some code of the previous implementation (before new views) of this widget.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions