0.0.153
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
function update_count_unread_messages (data) {
|
||||
|
||||
export function update_count_unread_messages (data) {
|
||||
let list_unrd = document.querySelectorAll(".qs")
|
||||
let i = 0
|
||||
for (i;i < list_unrd.length;i++){
|
||||
@@ -6,7 +7,7 @@ function update_count_unread_messages (data) {
|
||||
}
|
||||
}
|
||||
|
||||
function play_required_beep (data) {
|
||||
export function play_required_beep (data) {
|
||||
const beep = new Audio('/static/sounds/beep_2.mp3')
|
||||
beep.play()
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
function inital_old_tab (){
|
||||
|
||||
export function inital_old_tab (){
|
||||
let el_tab = document.querySelector(".tab_user_messanger.select")
|
||||
let old_item_tab_user = null;
|
||||
if (el_tab !== null){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
function update_chat_html (data,msg_cont) {
|
||||
|
||||
export function update_chat_html (data,msg_cont) {
|
||||
if (data.chat_html){
|
||||
if (msg_cont !== null){
|
||||
if (msg_cont.dataset['curReceiver'] === ""){
|
||||
@@ -15,7 +16,7 @@ function update_chat_html (data,msg_cont) {
|
||||
}
|
||||
|
||||
|
||||
function update_list_w_users (data,old_item_tab_user) {
|
||||
export function update_list_w_users (data,old_item_tab_user) {
|
||||
let list_of_users = document.querySelector(".block-list-of-users")
|
||||
if (list_of_users) {
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
function update_tickets_operations_manager (data,old_item_tab_user,w=null,wo=null) {
|
||||
|
||||
export function update_tickets_operations_manager (data,old_item_tab_user,w=null,wo=null) {
|
||||
let insert_type = null
|
||||
if (w !== null){
|
||||
insert_type = 'data.tickets_w_manager_html'
|
||||
@@ -69,7 +70,7 @@ function clear_messenger (data) {
|
||||
}
|
||||
}
|
||||
|
||||
function update_support_chat_func (data){
|
||||
export function update_support_chat_func (data){
|
||||
if (msg_cont !== null){
|
||||
if (msg_cont.dataset['curReceiver'] === ""){
|
||||
document.querySelector(".info_profile").innerHTML = data.support_chat_html
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
{# <script src="{% static "js/serch_town.js" %}"></script>#}
|
||||
<script src="{% static "js/user_profile.js" %}"></script>
|
||||
<script src="{% static "js/user_profile(boris).js" %}"></script>
|
||||
<script src="{% static "js/chat_socket_functions/etc_operations_for_chat_socket.js" %}"></script>
|
||||
<script src="{% static "js/chat_socket_functions/inital_old_tab.js" %}"></script>
|
||||
<script src="{% static "js/chat_socket_functions/update_messenger.js" %}"></script>
|
||||
<script src="{% static "js/chat_socket_functions/update_tickets_operations_manager.js" %}"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -10,7 +10,10 @@
|
||||
<script src='{% static "js/user_profile(boris).js" %}'> </script>
|
||||
{# <script src='{% static "js/chat_sockets.js" %}'></script>#}
|
||||
|
||||
|
||||
<script type="module" src="{% static "js/chat_socket_functions/etc_operations_for_chat_socket.js" %}"></script>
|
||||
<script type="module" src="{% static "js/chat_socket_functions/inital_old_tab.js" %}"></script>
|
||||
<script type="module" src="{% static "js/chat_socket_functions/update_messenger.js" %}"></script>
|
||||
<script type="module" src="{% static "js/chat_socket_functions/update_tickets_operations_manager.js" %}"></script>
|
||||
<link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}">
|
||||
<script defer src='{% static "js/check_new_messages.js" %}'></script>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
</script>
|
||||
|
||||
<script src='{% static "js/chat_sockets.js" %}'></script>
|
||||
<script type="module" src='{% static "js/chat_sockets.js" %}'></script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
|
||||
Reference in New Issue
Block a user