mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +08:00
FIX: Enter submits form for hyperlink insert modal (#9190)
This commit is contained in:
parent
d2bb127e2c
commit
8d90134d0b
|
@ -1,3 +1,4 @@
|
||||||
|
<form {{action "ok" on="submit"}}>
|
||||||
{{#d-modal-body title="composer.link_dialog_title" class="insert-link"}}
|
{{#d-modal-body title="composer.link_dialog_title" class="insert-link"}}
|
||||||
<div class="inputs">
|
<div class="inputs">
|
||||||
{{text-field
|
{{text-field
|
||||||
|
@ -37,6 +38,7 @@
|
||||||
{{/d-modal-body}}
|
{{/d-modal-body}}
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
{{d-button class="btn-primary" label="composer.modal_ok" action=(action "ok")}}
|
{{d-button class="btn-primary" label="composer.modal_ok" action=(action "ok") type="submit"}}
|
||||||
{{d-button class="btn-danger" label="composer.modal_cancel" action=(action "cancel")}}
|
{{d-button class="btn-danger" label="composer.modal_cancel" action=(action "cancel")}}
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user