summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/lib/summernote/src
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-02-13 17:08:13 +0000
committerNicolas Lempereur <nle@odoo.com>2019-02-13 17:11:13 +0000
commit1e43c73a9983d48d85b899d6db323290e961a84c (patch)
tree3689e18c40a8f58688de6caea8937f40742e2d14 /addons/web_editor/static/lib/summernote/src
parent5b37c40cacfe5254325d85fbdd3ffbc6b966c085 (diff)
[FIX] web_editor: html widget empty value stay empty
The html widget automatically replace an empty field value by `<p><br></p>` to be able to add content. But this may cause unintended "onchange", since the value has "changed" and the onchange themself could cause error when triggered at the wrong time (eg. inside a list view with required fields). With this changeset, the onchange is averted when the value was false and is now `<p><br></p>`. opw-1906581 closes #31078
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src')
0 files changed, 0 insertions, 0 deletions