summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_view/thread_view.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2021-02-03 17:29:58 +0000
committerRomain Derie <rde@odoo.com>2021-03-25 11:40:22 +0000
commit27ac99ef87912c7ed926396d36aa159a4428b114 (patch)
tree20aee1b4a95cc95ede63e456583657d8241fad1e /addons/mail/static/src/components/thread_view/thread_view.xml
parent4d529ad0d1b3e448fba7fb6cf54ed7991664f5aa (diff)
[FIX] web_editor: don't run code when input is emptied
Before this commit: - Edit mode, open image dialog - Upload an image to the media dialog - Reclick on Upload but don't select an image, close the browser image selector - This will trigger the input change event, as the input was emptied This is needed since in later commit, `_addData()` will do some code outside of the `files` loop, which is useless if there is no files selected. In thise case, the issue would be that it would open an empty toastr. task-2345082 Coming from #65828 Closes #68326 closes odoo/odoo#68334 X-original-commit: 94c45412714c1263788b2567ce3c9581453b2cd4 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view/thread_view.xml')
0 files changed, 0 insertions, 0 deletions