Fix bug: pressing enter on the "forgot password" modal does not submit the form
This commit is contained in:
parent
2aa487d2c8
commit
b5593daae1
|
@ -1,9 +1,9 @@
|
|||
<div class="modal-body">
|
||||
<form>
|
||||
<form>
|
||||
<div class="modal-body">
|
||||
<label for='username-or-email'>{{i18n forgot_password.invite}}</label>
|
||||
{{textField value=accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}}
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue