Skip to content

Commit

Permalink
Swap button-order on modal dialogs
Browse files Browse the repository at this point in the history
Issue #4583

- Delete button should be on the right, cancel on the left, for all modal dialogs.
  • Loading branch information
graphiclunarkid committed Dec 10, 2014
1 parent 823b5b4 commit cb03724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/client/templates/components/gh-modal-dialog.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
</section>
{{#if confirm}}
<footer class="modal-footer">
<button type="button" {{bind-attr class="acceptButtonClass :js-button-accept"}} {{action "confirm" "accept"}}>
{{confirm.accept.text}}
</button>
<button type="button" {{bind-attr class="rejectButtonClass :js-button-reject"}} {{action "confirm" "reject"}}>
{{confirm.reject.text}}
</button>
<button type="button" {{bind-attr class="acceptButtonClass :js-button-accept"}} {{action "confirm" "accept"}}>
{{confirm.accept.text}}
</button>
</footer>
{{/if}}
</section>
Expand Down

0 comments on commit cb03724

Please sign in to comment.