mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
FIX: Auto close was broken
This commit is contained in:
parent
872239fc19
commit
72f2454290
@ -1,4 +1,4 @@
|
||||
<form {{action "saveAutoClose" on="submit"}}>
|
||||
<form>
|
||||
<div class="modal-body">
|
||||
{{auto-close-form autoCloseTime=model.auto_close_time
|
||||
autoCloseValid=auto_close_valid
|
||||
@ -6,7 +6,7 @@
|
||||
limited=model.details.auto_close_based_on_last_post }}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
{{d-button class="btn-primary" disabled=auto_close_invalid label="topic.auto_close_save"}}
|
||||
{{d-button class="btn-primary" disabled=auto_close_invalid label="topic.auto_close_save" action="saveAutoClose"}}
|
||||
<a {{action "closeModal"}}>{{i18n 'cancel'}}</a>
|
||||
{{d-button class="pull-right" action="removeAutoClose" label="topic.auto_close_remove"}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user