Skip to content
Snippets Groups Projects
Commit 12a4fbe1 authored by Nicolas Bayet's avatar Nicolas Bayet
Browse files

[FIX] web_editor: join peer to peer on focus in resetEditor


The PR #110241 inadvertently re-introduce the attempt to connect
in collaboration when the editor was reset. The attempt should only
be made when the user focus on the editable.

The line
`this.$editable[0].addEventListener('focus', this._joinPeerToPeer);`
in `resetEditor` will handle that case.

closes odoo/odoo#112167

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent fa258ab9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment