diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-02-01 12:32:52 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-02-01 13:09:16 +0100 |
| commit | b836e00d70d723f74c56d40505a583f7fe9454be (patch) | |
| tree | 5b7b6cdd67bf2f5058ab4ff4760ba8ea0c662b40 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | b8922c964cfcf836be2c1afde3cf0bb4cd817ead (diff) | |
[FIX] web_editor: allow to copy paste when editing translations
When editing translations, you were not able to copy/paste texts before
this commit. Indeed, in some contexts, in some browsers, copy/pasting
text was creating a new paragraph inside the translation, preventing it
to be saved.
This commit simply adds code to remove these paragraphs each time text
is changed.
A more elegant solution will be found for master with website and
editor improvements.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
