Commit 16ba3ee
[FIX] web_editor: unstuck the UI after an image crop is denied
Steps to produce:
- Drop 'Text - Image' block
- Replace image by illustration
- Try to crop image
- A notification is displayed
- Try saving
The issue is ImageCrop is still not opened and we are trying to wait
for image_cropper_destroyed to trigger, so here we check if ImageCrop
is not opened.
task-4246644
closes odoo#188577
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
Co-authored-by: Mohammed Shekha <[email protected]>1 parent eabaa4b commit 16ba3ee
File tree
2 files changed
+32
-9
lines changed- addons
- web_editor/static/src/js/editor
- website/static/tests/tours
2 files changed
+32
-9
lines changedLines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6602 | 6602 | | |
6603 | 6603 | | |
6604 | 6604 | | |
6605 | | - | |
6606 | | - | |
6607 | | - | |
6608 | | - | |
6609 | | - | |
6610 | | - | |
6611 | 6605 | | |
6612 | | - | |
6613 | | - | |
| 6606 | + | |
| 6607 | + | |
| 6608 | + | |
6614 | 6609 | | |
6615 | | - | |
| 6610 | + | |
6616 | 6611 | | |
6617 | 6612 | | |
6618 | 6613 | | |
6619 | 6614 | | |
6620 | 6615 | | |
| 6616 | + | |
| 6617 | + | |
| 6618 | + | |
| 6619 | + | |
| 6620 | + | |
| 6621 | + | |
| 6622 | + | |
| 6623 | + | |
| 6624 | + | |
| 6625 | + | |
6621 | 6626 | | |
6622 | 6627 | | |
6623 | 6628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
77 | 95 | | |
78 | 96 | | |
79 | 97 | | |
| |||
0 commit comments