diff options
author | Akuket <32392661+Akuket@users.noreply.github.com> | 2018-10-16 11:46:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 11:46:21 +0200 |
commit | 50edffee47edf94f4f3aa21e5030354a33acf3d6 (patch) | |
tree | bc92da43c179b9bc88cd34b0c92c8938007a3517 /client/components/main | |
parent | 41330b15dccfdd45c08b2657833a0bcba9576243 (diff) | |
parent | 3dcebe8a9eb6ef96fc8a6a42dc1a1ce7a2a4d98c (diff) | |
download | wekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.tar.gz wekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.tar.bz2 wekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.zip |
Merge branch 'edge' into edge
Diffstat (limited to 'client/components/main')
-rw-r--r-- | client/components/main/layouts.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index 6d1f95d4..393f890b 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -7,7 +7,7 @@ const i18nTagToT9n = (i18nTag) => { }; const validator = { - set: function(obj, prop, value) { + set(obj, prop, value) { if (prop === 'state' && value !== 'signIn') { $('.at-form-authentication').hide(); } else if (prop === 'state' && value === 'signIn') { @@ -17,7 +17,7 @@ const validator = { obj[prop] = value; // Indicate success return true; - } + }, }; Template.userFormsLayout.onRendered(() => { @@ -82,7 +82,7 @@ Template.userFormsLayout.events({ }); }, 'click #at-btn'(event) { - /* All authentication method can be managed/called here. + /* All authentication method can be managed/called here. !! DON'T FORGET to correctly fill the fields of the user during its creation if necessary authenticationMethod : String !! */ const authenticationMethodSelected = $('.select-authentication').val(); |