mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-03 06:07:20 +02:00
added some commands back
This commit is contained in:
parent
4dbf110edc
commit
57e72a8a90
@ -759,12 +759,16 @@
|
|||||||
$("#obtainButton").removeClass("loading").removeClass("disabled");
|
$("#obtainButton").removeClass("loading").removeClass("disabled");
|
||||||
if (response.error) {
|
if (response.error) {
|
||||||
console.log("Error:", response.error);
|
console.log("Error:", response.error);
|
||||||
|
// Show error message
|
||||||
parent.msgbox(response.error, false, 12000);
|
parent.msgbox(response.error, false, 12000);
|
||||||
if (callback != undefined){callback(false);}
|
if (callback != undefined){callback(false);}
|
||||||
} else {
|
} else {
|
||||||
console.log("Certificate renewed successfully");
|
console.log("Certificate renewed successfully");
|
||||||
|
// Show success message
|
||||||
parent.msgbox("Certificate renewed successfully");
|
parent.msgbox("Certificate renewed successfully");
|
||||||
|
// Renew the parent certificate list
|
||||||
parent.initManagedDomainCertificateList();
|
parent.initManagedDomainCertificateList();
|
||||||
|
|
||||||
if (callback != undefined){callback(true);}
|
if (callback != undefined){callback(true);}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user