Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-08-09 15:35:16 +03:00
14 changed files with 148 additions and 4 deletions

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;
@@ -161,6 +165,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){
@@ -313,6 +318,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
@@ -383,6 +389,7 @@ function createRoute(){
// enctype: 'json',
// data: {},
success: function(data){
getNewMessageSession()
// console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
@@ -418,6 +425,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;