From aa879efef88dc14d529d0d927a942f1295c8e69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Mon, 14 Mar 2022 13:39:08 +0000 Subject: [PATCH] [IMP] mail: turn 'ChatWindow/newMessageFormInputPlaceholder' into field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-2793280 closes odoo/odoo#86373 Signed-off-by: Sébastien Theys (seb) --- .../src/components/chat_window/chat_window.js | 10 ---------- .../src/components/chat_window/chat_window.xml | 2 +- .../static/src/models/chat_window/chat_window.js | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/addons/mail/static/src/components/chat_window/chat_window.js b/addons/mail/static/src/components/chat_window/chat_window.js index 47a06c073b8..69d08228416 100644 --- a/addons/mail/static/src/components/chat_window/chat_window.js +++ b/addons/mail/static/src/components/chat_window/chat_window.js @@ -38,16 +38,6 @@ export class ChatWindow extends Component { return this.messaging && this.messaging.models['ChatWindow'].get(this.props.localId); } - /** - * Get the content of placeholder for the autocomplete input of - * 'new_message' chat window. - * - * @returns {string} - */ - get newMessageFormInputPlaceholder() { - return this.env._t("Search user..."); - } - //-------------------------------------------------------------------------- // Private //-------------------------------------------------------------------------- diff --git a/addons/mail/static/src/components/chat_window/chat_window.xml b/addons/mail/static/src/components/chat_window/chat_window.xml index 918ac114657..7631313cc07 100644 --- a/addons/mail/static/src/components/chat_window/chat_window.xml +++ b/addons/mail/static/src/components/chat_window/chat_window.xml @@ -41,7 +41,7 @@