fix setup issue with smtp testing, #4533

This commit is contained in:
Benjamin Beganović 2020-12-21 08:45:39 +01:00
parent 6f32fd6c4b
commit 2b2c8b5d83
4 changed files with 6 additions and 3 deletions

0
public/css/card-js.min.css vendored Executable file → Normal file
View File

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,6 @@
"/js/clients/quotes/approve.js": "/js/clients/quotes/approve.js?id=85bcae0a646882e56b12",
"/js/clients/shared/multiple-downloads.js": "/js/clients/shared/multiple-downloads.js?id=5c35d28cf0a3286e7c45",
"/js/clients/shared/pdf.js": "/js/clients/shared/pdf.js?id=fa54bb4229aba6b0817c",
"/js/setup/setup.js": "/js/setup/setup.js?id=7ab6418738b4f4672cf1",
"/js/setup/setup.js": "/js/setup/setup.js?id=b264d828086fdf87b710",
"/css/card-js.min.css": "/css/card-js.min.css?id=62afeb675235451543ad"
}

View File

@ -63,7 +63,10 @@ class Setup {
}
Axios.post('/setup/check_mail', data)
.then((response) => this.handleSuccess(this.checkSmtpAlert))
.then((response) => {
this.handleSuccess(this.checkSmtpAlert, 'account-wrapper');
this.handleSuccess(this.checkSmtpAlert, 'submit-wrapper');
})
.catch((e) =>
this.handleFailure(this.checkSmtpAlert, e.response.data.message)
)