mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:14:30 -04:00
Merge pull request #4541 from beganovich/v5-4533
(v5) Fix issue with setup: SMTP testing
This commit is contained in:
commit
bccfcf0ea5
0
public/css/card-js.min.css
vendored
Executable file → Normal file
0
public/css/card-js.min.css
vendored
Executable file → Normal file
2
public/js/setup/setup.js
vendored
2
public/js/setup/setup.js
vendored
File diff suppressed because one or more lines are too long
@ -15,6 +15,6 @@
|
|||||||
"/js/clients/quotes/approve.js": "/js/clients/quotes/approve.js?id=85bcae0a646882e56b12",
|
"/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/multiple-downloads.js": "/js/clients/shared/multiple-downloads.js?id=5c35d28cf0a3286e7c45",
|
||||||
"/js/clients/shared/pdf.js": "/js/clients/shared/pdf.js?id=fa54bb4229aba6b0817c",
|
"/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"
|
"/css/card-js.min.css": "/css/card-js.min.css?id=62afeb675235451543ad"
|
||||||
}
|
}
|
||||||
|
5
resources/js/setup/setup.js
vendored
5
resources/js/setup/setup.js
vendored
@ -63,7 +63,10 @@ class Setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Axios.post('/setup/check_mail', data)
|
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) =>
|
.catch((e) =>
|
||||||
this.handleFailure(this.checkSmtpAlert, e.response.data.message)
|
this.handleFailure(this.checkSmtpAlert, e.response.data.message)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user