This commit is contained in:
2023-08-09 14:31:57 +03:00
parent 73f791c8d9
commit 6f03ba3720

View File

@@ -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;