summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/widget_registry.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-03-21 15:43:16 +0100
committerRomain Derie <rde@odoo.com>2018-03-22 14:38:17 +0100
commit744af2db60ae1998fadff6f56d909ac349d7a0e6 (patch)
treece6a65cf81f2a5fe7ebb6c8ad53ddd772ec6eab0 /addons/web/static/src/js/views/basic/widget_registry.js
parent3c2876f68971eb8a5e5aa490586dc4305f9e6e3b (diff)
[FIX] web_editor: correctly set image on double click
Commit 321486851a fixed double click on media dialog when multiple selection is allowed. Still, it needs a deeper fix to ensure that the image is/remains selected when double clicking no matter it's state (selected or not) before the clicks. Double click should always force the image to be selected before saving. Step to reproduce: - Drop the Image Gallery snippet - Open new images manager (Customize > Add images or Add Images directly if no images set yet - Select an image (simple click) - Now double click on it It won't set the image since when double clicking, it: 1. Unselected the image on the first click (click event) 2. Selected the image on the second click (click event) 3. Unselected the image and saved (dblclick event)
Diffstat (limited to 'addons/web/static/src/js/views/basic/widget_registry.js')
0 files changed, 0 insertions, 0 deletions