summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2021-02-22 17:37:40 +0000
committerNicolas Lempereur <nle@odoo.com>2021-02-22 17:45:52 +0000
commit96c22e816981d72c185520750167c514c6bded5b (patch)
tree15b3ee1a57c56c370de3861c0fc586915f122e73 /addons/web/static/src/js/fields/basic_fields.js
parentff534c65486970b4ebe731c22e8954390a6cc31c (diff)
[FIX] web_editor: can set bg position on root editor
Scenario: - go to /slides and start editing the page - change the position of background banner - save => traceback Why: The code for pan tool duplicates the target element in an overlay. In the given use case, it means a node with .o_editable class is created that will cause an error when saving because the code expect the cloned element to be an editor (in `RTEWidget.save()`) but it is not (and is eg. missing `.data('options')`). opw-2427560 closes odoo/odoo#66639 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions