summaryrefslogtreecommitdiff
path: root/addons/website_mass_mailing/static/src
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-04-10 09:04:57 +0000
committerSamuel Degueldre <sad@odoo.com>2020-04-23 11:49:49 +0000
commite2abbdcc594090de024cfef254367f15760e174d (patch)
tree2d3e9aa9912f990650f1b7e54018b870fc48b114 /addons/website_mass_mailing/static/src
parent85eef1ec4d458f8ee5020a5464c74c384cad788a (diff)
[FIX] web_editor: fix original not being properly set when cropping
Previously, if you opened the cropper on an already cropped image, it would load the crop data for that image. If you then changed the image and cropped that new image, it would keep most of the metadata of the previous image when saving, causing any subsequent crop to show the previous original image instead of the current one. This commit fixes that by removing all crop-related jQuery data from the image, so it's considered a fresh crop and a new attachment is created. closes odoo/odoo#50066 X-original-commit: 46c08050998d0c94d8955cd23ac783f38ecb5af1 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website_mass_mailing/static/src')
0 files changed, 0 insertions, 0 deletions