summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-10-02 12:25:52 +0200
committerAaron Bohy <aab@odoo.com>2015-10-02 15:49:37 +0200
commitde8acb2569fd1b93d9e9c62ecc2ede79064037f8 (patch)
tree81053fd48bf2631d122f5f3fc335d77011cec333 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent28d3dc6cc99f1f2dd83019d7e9edf5ecc3bb80cb (diff)
[FIX] mail: emojis: replace all occurences of the emoji in messages
The problem was that, when substituting the emoji pattern by the emoji icon, we only replaced the first occurence of the pattern. This rev. replaces all occurences of the pattern by performing a global match ('g' option), and correctly handles matches overlap by using a lookahead assertion ('x(?=y)') instead of basic non-capturing parentheses ('x(?:y)').
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions