summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-11-09 12:09:48 +0000
committerlen-odoo <len@odoo.com>2018-11-09 12:09:51 +0000
commitc0f66d6c2dceda0ff0073dccce08af961e858672 (patch)
treee380469284db247bf155eb35bb6901c2c9c97e15 /addons/web/static/src/js
parent5c2f96d0dde378fdb2736b2d67871954ab905434 (diff)
[FIX] mail: create attachments with the correct filename when using the popup editor
Send a message using the popup editor. Drag and drop an image into the message content. It will create an attachment for the inlined image. To generate the values for the attachment, a regex is used to parse the content. Besides summoning Eldritch abominations, it didnt't take into account the original filename, whereas the default one (image) would have no extension. We extend the regex to capture the filename and use it. opw 1903194 closes odoo/odoo#28527
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions