diff options
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/common/tags/signin.tag | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/app/common/tags/signin.tag b/src/web/app/common/tags/signin.tag index 5f400d9bdf..d181e71622 100644 --- a/src/web/app/common/tags/signin.tag +++ b/src/web/app/common/tags/signin.tag @@ -113,6 +113,13 @@ @onsubmit = (e) ~> e.prevent-default! + if @refs.username.value == '' + @refs.username.focus! + return false + if @refs.password.value == '' + @refs.password.focus! + return false + @signing = true @update! |