From 085b971b0b1317317fa88116613bb2740233d241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= <ged@odoo.com> Date: Fri, 3 Sep 2021 08:22:15 +0000 Subject: [PATCH] [IMP] web: update owl from 1.4.3 to 1.4.4 Github release: https://github.com/odoo/owl/releases/tag/v1.4.4 Release notes: - fix: overlapping multi-class in t-att-class closes odoo/odoo#75922 Signed-off-by: Samuel Degueldre <sdegueldre@users.noreply.github.com> --- addons/web/static/lib/owl/owl.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/web/static/lib/owl/owl.js b/addons/web/static/lib/owl/owl.js index 2e8d34692e01..c4d7c5e2baf6 100644 --- a/addons/web/static/lib/owl/owl.js +++ b/addons/web/static/lib/owl/owl.js @@ -1454,12 +1454,12 @@ return result; } // this is already an object, but we may need to split keys: - // {'a': true, 'b c': true} should become {a: true, b: true, c: true} + // {'a b': true, 'a c': false} should become {a: true, b: true, c: false} for (let key in expr) { const value = expr[key]; const words = key.split(/\s+/); for (let word of words) { - result[word] = value; + result[word] = result[word] || value; } } return result; @@ -5544,9 +5544,9 @@ See https://github.com/odoo/owl/blob/master/doc/reference/config.md#mode for mor exports.utils = utils; - __info__.version = '1.4.3'; - __info__.date = '2021-07-08T09:54:52.593Z'; - __info__.hash = '9fe2da7'; + __info__.version = '1.4.4'; + __info__.date = '2021-09-03T08:19:48.452Z'; + __info__.hash = 'b3181f1'; __info__.url = 'https://github.com/odoo/owl'; -- GitLab