diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-02-26 13:54:44 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-02-26 14:46:25 +0000 |
| commit | 05533ceda65ed95828ab483aa43178b26796fff7 (patch) | |
| tree | 8f12b1b649d81d82aacb0344c0bef0d87a2d60ce /addons/web/static/src/js/fields/basic_fields.js | |
| parent | e36ad5b0b01aca802e835b82e1fbb79a0d40e659 (diff) | |
[FIX] mail: link mention if it is still working
In some special instance, a mention could get linked and the user would
not really be linked.
This is because of a difference between linking the mention and adding
the user as follower that required a space after the mention.
With this change:
- `[adding mention]@admin [backspace].`: was linked but not added as
follower => now it is not linked either.
- `[adding mention]@admin [backspace][enter][adding mention]@admin `:
the first @admin was linked => now the second is linked
Without the change, added test fails with:
"should not contain a link in the message content"
"should not have linked mention without space"
opw-1934946
closes #31433
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
