FIX: Login modal on mobile does not submit on enter.

This commit is contained in:
Guo Xiang Tan 2017-01-09 13:20:53 +08:00
parent e89fc5f483
commit e721e31699
1 changed files with 56 additions and 51 deletions

View File

@ -1,3 +1,4 @@
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword action="login"}}
{{#d-modal-body title="login.title" class="login-modal"}}
{{login-buttons action="externalLogin"}}
{{#if canLoginLocal}}
@ -28,6 +29,8 @@
</tr>
</table>
</div>
</form>
{{/if}}
{{authMessage}}
@ -38,6 +41,7 @@
{{#if authenticate}}
{{i18n 'login.authenticating'}}
{{/if}}
{{#if canLoginLocal}}
<button class='btn btn-large btn-primary'
disabled={{loginDisabled}}
@ -52,3 +56,4 @@
{{/if}}
{{/if}}
</div>
{{/login-modal}}