summaryrefslogtreecommitdiffstats
path: root/client/components/settings
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-11-27 19:24:06 +0900
committernztqa <nztqa@users.noreply.github.com>2017-11-27 19:24:06 +0900
commit332f12ce2806abcba84eec5b12ea33b26d3a3cd0 (patch)
treeba352941bc0168a3b4ea48c4dea0223e1f13fb9f /client/components/settings
parentdffe3d5ade15582ec71714031509a314a2616667 (diff)
downloadwekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.tar.gz
wekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.tar.bz2
wekan-332f12ce2806abcba84eec5b12ea33b26d3a3cd0.zip
Add alert method
Diffstat (limited to 'client/components/settings')
-rw-r--r--client/components/settings/settingBody.js2
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 */
});
},