diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-27 10:07:28 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-28 11:22:30 +0100 |
| commit | cae188514fa8b0a7c785a630ac4aff677b2071fa (patch) | |
| tree | 7ba9b0e8d129cbc717560ffe46cc9aa2864e5da2 /addons/website/data/website_data.xml | |
| parent | 6d2bf44fee76a8b73ebad206cd7a283c88b6c4ef (diff) | |
[FIX] web_editor: Fieldtexthtml wait until iframe loaded to save
In the case where:
- you are too fast editing a mass mailing, trigger an onchange (e.g. mailing_model) and then save
You can use the edit/save shortcuts to make yourself believe you are Flash Gordon
- your internet is too slow (Down: 4Mb/s, Up: 500kb/s, Latency: 20ms)
Before ths commit, the onchange will return *before* the field (the iframe actually) is loaded.
This onchange contains a signal *in* the body_html of the field to allow communication with the iframe.
If you save before the iframe is loaded, this body_html keyword will be saved.
After this commit we deactivate the save button until the iframe is loaded.
We could have gone for a python user error on the value of the body_html too.
But it would have added a supplementary click and potential reloading
OPW 783616
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions
