1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Daniel 2021-07-22 10:52:30 -03:00
parent 99075df495
commit e5afdee3c2
6 changed files with 100 additions and 0 deletions

View file

@ -1107,6 +1107,20 @@ function avideoModalIframeRemove() {
}
}
function avideoResponse(response) {
if(response.error){
if(!response.msg){
response.msg = 'Error';
}
avideoAlertError(response.msg);
}else{
if(!response.msg){
response.msg = 'Success';
}
avideoToastSuccess(response.msg);
}
}
function avideoAlertText(msg) {
avideoAlert("", msg, '');
}