Merge pull request #64 from daluntw/multidomain_fix

Fix multidomain UI handle incorrectly
This commit is contained in:
Toby Chui 2023-09-10 17:42:07 +08:00 committed by GitHub
commit c65f780613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,8 +335,9 @@
//Invalid settings. Force the filename to be same as domain
//if there are only 1 domain
filename = domains;
}else{
parent.msgbox("Filename cannot be empty for certs containing multiple domains.")
}else if (filename == "" && domains.includes(",")){
parent.msgbox("Filename cannot be empty for certs containing multiple domains.", false, 5000);
$("#obtainButton").removeClass("loading").removeClass("disabled");
return;
}