mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Improved domain autoconfig interaction
This commit is contained in:
parent
6a1b83b365
commit
113003f485
2 changed files with 8 additions and 1 deletions
|
|
@ -148,6 +148,8 @@ export class DomainPopupView extends AbstractViewPopup {
|
|||
imapHostFocus: false,
|
||||
sieveHostFocus: false,
|
||||
smtpHostFocus: false,
|
||||
|
||||
detectingConfig: false
|
||||
});
|
||||
this.imapDisabled_capabilities = ko.observableArray();
|
||||
this.imapCapabilities = ko.observableArray();
|
||||
|
|
@ -318,6 +320,7 @@ export class DomainPopupView extends AbstractViewPopup {
|
|||
}
|
||||
|
||||
autoconfig() {
|
||||
this.detectingConfig(true);
|
||||
let domain = this.name();
|
||||
Remote.request('AdminDomainAutoconfig', (iError, oData) => {
|
||||
if (oData?.Result?.config) {
|
||||
|
|
@ -335,6 +338,7 @@ export class DomainPopupView extends AbstractViewPopup {
|
|||
this.smtpUseAuth(!!server.authentication);
|
||||
this.smtpUsePhpMail(false);
|
||||
}
|
||||
this.detectingConfig(false);
|
||||
}, {domain});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue