From 6f03ba3720c813ff11ab3f1b69759dc33bead052 Mon Sep 17 00:00:00 2001 From: borissedw Date: Wed, 9 Aug 2023 14:31:57 +0300 Subject: [PATCH] 0.0.89 --- static/js/user_profile.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 660d489..7a0c26a 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -10,6 +10,7 @@ function writeMessage(){ // enctype: 'json', // data: formData, success: function(data){ + getNewMessageSession() // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html; @@ -35,6 +36,7 @@ function technicalSupport(){ // enctype: 'json', // data: formData, success: function(data){ + getNewMessageSession() console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html; @@ -59,6 +61,7 @@ function mySubscription(){ // enctype: 'json', // data: formData, success: function(data){ + getNewMessageSession() console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html; @@ -83,6 +86,7 @@ function myProfile(){ // enctype: 'json', // data: formData, success: function(data){ + getNewMessageSession() console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html; @@ -144,6 +148,7 @@ function searchTown(el){ // enctype: 'json', data: JSON.stringify(get_address_point), success: function(data){ + getNewMessageSession() return insertSearchList(data, el.name + '_list') }, error: function (data){ @@ -296,6 +301,7 @@ function sendRoute(el, routeID = null){ // enctype: 'json', data: formData, success: function(data){ + getNewMessageSession() console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html @@ -366,6 +372,7 @@ function createRoute(){ // enctype: 'json', // data: {}, success: function(data){ + getNewMessageSession() // console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html @@ -401,6 +408,7 @@ function getRoute(){ // enctype: 'json', // data: formData, success: function(data){ + getNewMessageSession() console.log('data received') // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html;