0.0.207
This commit is contained in:
@@ -62,9 +62,10 @@ function technicalSupport(el){
|
||||
});
|
||||
}
|
||||
function mySubscription(el){
|
||||
// boris changed
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
url: '/ru/user_account/subscribe/',
|
||||
url: '/ru/subscribes/show_cur_subscribe/',
|
||||
type: "POST",
|
||||
// async: true,
|
||||
cache: false,
|
||||
@@ -76,9 +77,10 @@ function mySubscription(el){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
|
||||
// location.href = '/profile'
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
// document.querySelector(".info_profile").innerHTML = data.html;
|
||||
|
||||
let list_div = document.querySelectorAll('.menu_profile div');
|
||||
list_div.forEach(el=>{ el.classList.remove('selected'); });
|
||||
|
||||
Reference in New Issue
Block a user