From 374436bff8758a48e4fd44179c3821eb6688073c Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 29 Jul 2015 14:26:39 +0200 Subject: [FIX] web_editor: on firefox css rules doesn't have key with hyphen On save (eg: in mass_mailing), the style contains 'undefined' values --- addons/web_editor/static/src/js/transcoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web_editor/static/src/js/transcoder.js') diff --git a/addons/web_editor/static/src/js/transcoder.js b/addons/web_editor/static/src/js/transcoder.js index c7bcd14107f..9188bfabb45 100644 --- a/addons/web_editor/static/src/js/transcoder.js +++ b/addons/web_editor/static/src/js/transcoder.js @@ -46,7 +46,7 @@ var getMatchedCSSRules = function (a) { if (style.parentRule) { var style_obj = {}; for (var k=0, len=style.length; k