-
- Downloads
[FIX] bus: adapt presence service to work with iframe
Before this PR, the presence service was relying on window events
blur/focus to determine whether or not odoo was focused. The issue is
that in the website backend, an iframe is used. When this iframe is focused,
the window looses the focus and vice versa.
This commit fixes this issue by using `window.parent.hasFocus` method.
task-3003950
closes odoo/odoo#102479
Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
Please register or sign in to comment