From 266ae2a26be6f74f3d33a560f17ace62847c9c9d Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 13 Jan 2017 12:34:19 +0100 Subject: [FIX] mail: trim '()' characters In commit 07425d407f9 a trim of some special characters was introduced to prevent a crash. This was necessary in v9, but it is not in v10. opw-703465 --- addons/mail/static/src/js/utils.js | 1 - 1 file changed, 1 deletion(-) (limited to 'addons/mail/static/src/js/utils.js') diff --git a/addons/mail/static/src/js/utils.js b/addons/mail/static/src/js/utils.js index db82b976945..2c30a82701e 100644 --- a/addons/mail/static/src/js/utils.js +++ b/addons/mail/static/src/js/utils.js @@ -130,7 +130,6 @@ var accented_letters_mapping = { 'oe': 'œ', 'u': '[ùúûűü]', 'y': '[ýÿ]', - ' ': '[()\\[\\]]', }; function unaccent (str) { _.each(accented_letters_mapping, function (value, key) { -- cgit v1.2.3