From a8e95217c96e9ce548d3701964566ec799c459ac Mon Sep 17 00:00:00 2001 From: Gorash Date: Mon, 4 Mar 2019 08:41:09 +0000 Subject: [PATCH] [FIX] web_editor: Expose focus method for activate method of html field closes odoo/odoo#31577 Signed-off-by: VincentSchippefilt --- addons/web_editor/static/src/js/wysiwyg/root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/js/wysiwyg/root.js b/addons/web_editor/static/src/js/wysiwyg/root.js index 5dd48b6acf7..ab531d086f7 100644 --- a/addons/web_editor/static/src/js/wysiwyg/root.js +++ b/addons/web_editor/static/src/js/wysiwyg/root.js @@ -8,7 +8,7 @@ var assetsLoaded = false; var WysiwygRoot = Widget.extend({ assetLibs: ['web_editor.compiled_assets_wysiwyg'], - publicMethods: ['isDirty', 'save', 'getValue', 'setValue', 'getEditable', 'on', 'trigger'], + publicMethods: ['isDirty', 'save', 'getValue', 'setValue', 'getEditable', 'on', 'trigger', 'focus'], /** * @see 'web_editor.wysiwyg' module