From 672cbc140983c149ddb2126af356aaf4904966c9 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 7 Sep 2018 10:00:05 +0200 Subject: [PATCH] Form keep focus after sending a message onconversation page. --- assets/js/pages/conversations/conversation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/pages/conversations/conversation.js b/assets/js/pages/conversations/conversation.js index e84bd0c2..69f852e8 100644 --- a/assets/js/pages/conversations/conversation.js +++ b/assets/js/pages/conversations/conversation.js @@ -376,6 +376,7 @@ ComunicWeb.pages.conversations.conversation = { placeholder: "New message...", }); inputText.maxLength = 200; + inputText.focus(); //Enable textarea 2.0 on the message