0.0.91 new error msg

This commit is contained in:
2023-08-15 12:20:35 +03:00
parent 26877620b1
commit cbee5af4ed
4 changed files with 96 additions and 42 deletions

View File

@@ -45,7 +45,7 @@ function technicalSupport(el){
getNewMessageSession()
}
getNewMessageSession()
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html;
@@ -76,7 +76,7 @@ function mySubscription(el){
if (data.user_alerts) {
getNewMessageSession()
}
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html;
@@ -107,7 +107,7 @@ function myProfile(el){
if (data.user_alerts) {
getNewMessageSession()
}
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html;
@@ -353,7 +353,7 @@ function sendRoute(el, routeID = null){
if (data.user_alerts) {
getNewMessageSession()
}
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
@@ -370,12 +370,7 @@ function sendRoute(el, routeID = null){
});
}
// function maxLength(el) {
// if (el.value.length > el.maxLength){
// el.value = el.value.slice(0, el.maxLength);
// }
//
// }
@@ -407,10 +402,10 @@ function OnSelectionChange(el) {
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
//
let checkbox_width = document.querySelector('.checkbox_cargo_type');
if(checkbox_width.childElementCount === 4){
checkbox_width.classList.add('width')
}
// let checkbox_width = document.querySelector('.checkbox_cargo_type');
// if(checkbox_width.childElementCount === 4){
// checkbox_width.classList.add('width')
// }
sliderInit();
}
@@ -436,7 +431,7 @@ function createRoute(el){
if (data.user_alerts) {
getNewMessageSession()
}
// console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
@@ -478,7 +473,7 @@ function getRoute(el){
if (data.user_alerts) {
getNewMessageSession()
}
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html;
@@ -509,7 +504,7 @@ function getRoute(el){
// enctype: 'json',
data: JSON.stringify(route_obj),
success: function (data) {
console.log('data received')
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html;