Fix support log x button still downloading

This commit is contained in:
amcmanu3 2023-11-30 12:50:50 -05:00
parent 8bad0fb0a9
commit c5c025ca8c

View File

@ -384,18 +384,21 @@
if (x) {
x.remove()
}
bootbox.alert({
bootbox.confirm({
title: "{{ translate('notify', 'downloadLogs', data['lang']) }}",
message: "{{ translate('notify', 'finishedPreparing', data['lang']) }}",
buttons: {
ok: {
confirm: {
label: 'Download',
className: 'btn-info'
}
},
callback: function () {
console.log("in callback")
callback: function (result) {
if (result){
location.href = "/panel/download_support_package";
}else {
bootbox.close;
}
}
});
});