14
This commit is contained in:
@@ -766,8 +766,12 @@ function send_subscribe (id,for_movers,subscribe){
|
|||||||
// enctype: 'json',
|
// enctype: 'json',
|
||||||
data: JSON.stringify(data),
|
data: JSON.stringify(data),
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
|
if (data.html) {
|
||||||
document.querySelector(".info_profile").innerHTML = data.html;
|
document.querySelector(".info_profile").innerHTML = data.html;
|
||||||
|
}
|
||||||
|
if (data.redirect_url){
|
||||||
|
window.location.href = data.redirect_url
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function (data) {
|
error: function (data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user