mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fixes custom certificate upload modal
This commit is contained in:
parent
6392df36c3
commit
ac23c66659
@ -278,9 +278,11 @@ module.exports = Mn.View.extend({
|
|||||||
this.ui.credentials_file_content.hide();
|
this.ui.credentials_file_content.hide();
|
||||||
this.ui.loader_content.hide();
|
this.ui.loader_content.hide();
|
||||||
this.ui.le_error_info.hide();
|
this.ui.le_error_info.hide();
|
||||||
const domainNames = this.ui.domain_names[0].value.split(',');
|
if (this.ui.domain_names[0]) {
|
||||||
if (!domainNames || domainNames.length === 0 || (domainNames.length === 1 && domainNames[0] === "")) {
|
const domainNames = this.ui.domain_names[0].value.split(',');
|
||||||
this.ui.test_domains_button.prop('disabled', true);
|
if (!domainNames || domainNames.length === 0 || (domainNames.length === 1 && domainNames[0] === "")) {
|
||||||
|
this.ui.test_domains_button.prop('disabled', true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user