MDL-73797 output: swap order of buttons in save/cancel dialogs.

The primary button should swap position with the secondary button,
so that it's displayed on the right hand side of the dialog.
This commit is contained in:
Paul Holden 2022-02-10 08:32:15 +00:00
parent 6652ec135b
commit ff6e5cc71d

View File

@ -40,7 +40,7 @@
{{< core/modal }}
{{$footer}}
<button type="button" class="btn btn-primary" data-action="save">{{#str}} savechanges {{/str}}</button>
<button type="button" class="btn btn-secondary" data-action="cancel">{{#str}} cancel {{/str}}</button>
<button type="button" class="btn btn-primary" data-action="save">{{#str}} savechanges {{/str}}</button>
{{/footer}}
{{/ core/modal }}