From 864cb9132d975c534d340d91015e55eba8fe0076 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 5 Dec 2019 15:17:03 +0000 Subject: [PATCH] [REF] web_editor: do not select left panel input content automatically Part of https://github.com/odoo/odoo/pull/41402 closes odoo/odoo#41402 Signed-off-by: Quentin Smetz (qsm) --- .../static/src/js/editor/snippets.options.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js index 6eabaf1f542..29b22974ca5 100644 --- a/addons/web_editor/static/src/js/editor/snippets.options.js +++ b/addons/web_editor/static/src/js/editor/snippets.options.js @@ -780,16 +780,6 @@ const InputUserValueWidget = UserValueWidget.extend({ this._onUserValueChange(ev); }); }, - /** - * @private - * @param {Event} ev - */ - _onInputClick: function (ev) { - const inputEl = ev.currentTarget.querySelector('input'); - if (inputEl) { - inputEl.select(); - } - }, /** * @private * @param {Event} ev