FIX: Auto close was broken

This commit is contained in:
Robin Ward 2015-09-15 11:09:09 -04:00
parent 872239fc19
commit 72f2454290
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<form {{action "saveAutoClose" on="submit"}}> <form>
<div class="modal-body"> <div class="modal-body">
{{auto-close-form autoCloseTime=model.auto_close_time {{auto-close-form autoCloseTime=model.auto_close_time
autoCloseValid=auto_close_valid autoCloseValid=auto_close_valid
@ -6,7 +6,7 @@
limited=model.details.auto_close_based_on_last_post }} limited=model.details.auto_close_based_on_last_post }}
</div> </div>
<div class="modal-footer"> <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> <a {{action "closeModal"}}>{{i18n 'cancel'}}</a>
{{d-button class="pull-right" action="removeAutoClose" label="topic.auto_close_remove"}} {{d-button class="pull-right" action="removeAutoClose" label="topic.auto_close_remove"}}
</div> </div>