diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-11-27 19:24:06 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-11-27 19:24:06 +0900 |
commit | 332f12ce2806abcba84eec5b12ea33b26d3a3cd0 (patch) | |
tree | ba352941bc0168a3b4ea48c4dea0223e1f13fb9f /client/components | |
parent | dffe3d5ade15582ec71714031509a314a2616667 (diff) | |
download | wekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.tar.gz wekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.tar.bz2 wekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.zip |
Add alert method
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/settings/settingBody.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js index c94f46bb..e2d0383f 100644 --- a/client/components/settings/settingBody.js +++ b/client/components/settings/settingBody.js @@ -129,8 +129,10 @@ BlazeComponent.extendComponent({ Meteor.call('sendSMTPTestEmail', (err, ret) => { if (!err && ret) { /* eslint-disable no-console */ console.log('Success:', ret.message, ret.email); + alert('Success'); } else { console.log('Error: Sending test email', err); + alert(err); } /* eslint-enable no-console */ }); }, |