diff --git a/static/js/user_profile(boris).js b/static/js/user_profile(boris).js
index 41716a0..c0f8706 100644
--- a/static/js/user_profile(boris).js
+++ b/static/js/user_profile(boris).js
@@ -210,12 +210,15 @@ function sendMessage(id_ticket=null,sender,receiver){
success: function(data){
document.querySelector(".container-messages").innerHTML = data.html;
+ document.querySelector(".enter-message-inp").value = null
+ document.querySelector(".enter-message-inp").focus()
},
error: function (data){
document.querySelector(".container-messages").innerHTML = data.responseJSON.error;
-
+ document.querySelector(".enter-message-inp").value = null
+ document.querySelector(".enter-message-inp").focus()
}
});
}
diff --git a/templates/blocks/profile/b_chats.html b/templates/blocks/profile/b_chats.html
index 9004a28..ac821e3 100644
--- a/templates/blocks/profile/b_chats.html
+++ b/templates/blocks/profile/b_chats.html
@@ -50,8 +50,9 @@
-
- {% include "blocks/profile/b_messages_container.html" %}
+