summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/widgets.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-09-19 11:41:38 +0200
committerNicolas Martinelli <nim@odoo.com>2016-09-19 11:41:38 +0200
commitd2707fa7d79e3e69f5d923b47887dec1478ad73f (patch)
tree851cb6708683fa7f778b3da97af02e9b54ea5861 /addons/web_editor/static/src/js/widgets.js
parent9413bafdd3761927e117391bd7ad9b129a188518 (diff)
[FIX] pad: initialize pad at creation
When a pad is created programmatically (e.g. through a project task or a note), the pad is empty when it is first displayed. It is necessary to edit the record and save it in order to be able to see the content. This is because the pad is normally initialized by the JS layer, at the first edition, thanks to a call to `pad_generate_url`. Therefore, a programmatic pad creation won't initialize it. opw-685826
Diffstat (limited to 'addons/web_editor/static/src/js/widgets.js')
0 files changed, 0 insertions, 0 deletions