FIX: Auto close was broken

This commit is contained in:
Robin Ward 2015-09-15 11:09:09 -04:00
parent 872239fc19
commit 72f2454290

View File

@ -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>