summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-02-01 12:32:52 +0100
committerqsm-odoo <qsm@odoo.com>2017-02-01 13:09:16 +0100
commitb836e00d70d723f74c56d40505a583f7fe9454be (patch)
tree5b7b6cdd67bf2f5058ab4ff4760ba8ea0c662b40 /addons/web/static/src/js/views/basic/basic_controller.js
parentb8922c964cfcf836be2c1afde3cf0bb4cd817ead (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