From a42f554c23de538816f94ca21f8a44dfe44cd06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 6 Sep 2022 10:17:22 +0000 Subject: [PATCH] [IMP] web: update owl from 2.0.0-beta-18 to 2.0.0-beta-19 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release notes: https://github.com/odoo/owl/releases/tag/v2.0.0-beta-19 Details: - fix: events: correctly call handlers in iframes closes odoo/odoo#99807 X-original-commit: 78f1dc7709a312f8e3c8ead36a69b4c41f5a0e07 Signed-off-by: Géry Debongnie Signed-off-by: Samuel Degueldre --- addons/web/static/lib/owl/owl.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/web/static/lib/owl/owl.js b/addons/web/static/lib/owl/owl.js index 4e283d64175..006409c4ec2 100644 --- a/addons/web/static/lib/owl/owl.js +++ b/addons/web/static/lib/owl/owl.js @@ -322,7 +322,7 @@ } function listener(ev) { const currentTarget = ev.currentTarget; - if (!currentTarget || !document.contains(currentTarget)) + if (!currentTarget || !currentTarget.ownerDocument.contains(currentTarget)) return; const data = currentTarget[eventKey]; if (!data) @@ -5787,9 +5787,9 @@ See https://github.com/odoo/owl/blob/${hash}/doc/reference/app.md#configuration Object.defineProperty(exports, '__esModule', { value: true }); - __info__.version = '2.0.0-beta-18'; - __info__.date = '2022-09-02T12:59:24.614Z'; - __info__.hash = 'c1afaeb'; + __info__.version = '2.0.0-beta-19'; + __info__.date = '2022-09-06T10:14:11.747Z'; + __info__.hash = 'd0d7482'; __info__.url = 'https://github.com/odoo/owl';