summaryrefslogtreecommitdiff
path: root/addons/point_of_sale
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-07-22 08:55:03 +0000
committerqsm-odoo <qsm@odoo.com>2020-07-22 11:29:04 +0000
commitd8e05bd64d5be2fd2016d0c6f02c36d4a83c574e (patch)
treeb85bf474fec732257906504d7fe10029e3bf547d /addons/point_of_sale
parent958c66011f4ac34dbb0a9523973fe1698007dec1 (diff)
[FIX] web_editor: restore custom snippet delete button
Clicking on the delete button of custom snippets was not working anymore since [1]. Indeed, that button is placed inside the snippet thumbnail which is the drag handle for the drag and drop feature. Since we now start the drag as soon as the mouse is mousedown-ed, then the click on the delete button cannot be intercepted. This commit solves the problem by placing the delete button out of the thumbnail element. [1]: https://github.com/odoo/odoo/commit/ab72fe6c4681f62dc670f1cf1ac6fa47abd301f6 closes odoo/odoo#54770 X-original-commit: dac122935ac5c20526e529b09bf019f15a290d59 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/point_of_sale')
0 files changed, 0 insertions, 0 deletions