From c921346ca0e2112726c6398f883ef44355b1214b Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 19 Jul 2016 17:24:45 +0200 Subject: [PATCH] FIX for mac OS X: proper spacing in tree view --- base_phone/static/src/js/phone_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index 2307b4b..9508256 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -129,7 +129,7 @@ openerp.base_phone = function (instance) { var value = row_data[this.id].value; if (value && this.widget === 'phone') { readable_space = formatInternational('', value); - readable_no_break_space = readable_space.replace(/\s/g, ' '); + readable_no_break_space = readable_space.replace(/\s/g, ' '); return readable_no_break_space; } return res;