[FIX] web_editor: prevent editor powerbox hint duplication
Whenever the browser is lagging between multiple enter, the command hints were not being updated until the browser main thread process the event queue. Task-2728794 closes odoo/odoo#82795 X-original-commit: bfed1edd26312488dc0f45e8982b51ea4d98db76 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -1472,6 +1472,7 @@ export class OdooEditor extends EventTarget {
|
||||
const result = this._protect(() => this._applyRawCommand(...args));
|
||||
this.sanitize();
|
||||
this.historyStep();
|
||||
this._handleCommandHint();
|
||||
return result;
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user