diff options
| author | Kishan Gajjar <kishanegajjar@gmail.com> | 2019-12-11 13:22:53 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-12-12 09:46:57 +0000 |
| commit | 81b0149a1b0f96443d1127d11c6b8fb89c0d2f50 (patch) | |
| tree | 886f87139319851c0143eda9483f9960ec44d4b0 /addons/web_editor/static/src/xml/editor.xml | |
| parent | 1bcc175e37d333f2a1ae5e307c9c072e08e11d75 (diff) | |
[FIX] web_editor: fix few CropImageDialog issues
whenever we crop any image we set few data attributes to the cropped
image but if we change a cropped image from media dialog (ImageWidget)
we should remove crop related attributes from that newly added image
so that newly added image can be cropped with correct data.
since https://github.com/odoo/odoo/commit/a473453b3166a381130d9bd6ec4851b9e1ecab26
we are setting 'crop:originalSrc' data to the cropped image but not
removing from media dialog.
this commit also avoids unnecessary creation of an attachment.
closes odoo/odoo#41779
X-original-commit: 4a15b44243b3edbc7b2350806fea1a58f5734332
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions
