1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00

PGP 2FA support

This commit is contained in:
DanielnetoDotCom 2021-03-31 19:03:24 -03:00
parent a9377ccb8d
commit 1a0b33c80d
151 changed files with 9077 additions and 2318 deletions

View file

@ -1555,6 +1555,23 @@ function changeVideoStatus(videos_id, status) {
}
}
}
});
}
function avideoAjax(url, data){
modal.showPleaseWait();
$.ajax({
url: url,
data: data,
type: 'post',
success: function (response) {
modal.hidePleaseWait();
if (response.error) {
avideoAlertError(response.msg);
} else {
avideoToastSuccess(response.msg);
}
}
});