Change "Cancel" to "Close" on Settings
The Settings dialog also allows some "instant actions" (e.g. adding users, changing specific plugin settings and so on). Having to click on "Cancel" after actually doing something just feels wrong in such cases so the Settings dialog now has a "Close" instead of a "Cancel" button. Other sub dialogs will stay as is since that better reflects their behaviour.
This commit is contained in:
1 parent
e5b167bcb4
commit
2b5c14b3c3
1 file changed
+1
-1
@@ -49,7 +49,7 @@
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn aboutlink" data-bind="click: about.show"><i class="fa fa-info-circle"></i> {{ _('About OctoPrint') }}</button>
|
||||
<button class="btn" data-bind="click: function() { cancelData() }" aria-hidden="true">{{ _('Cancel') }}</button>
|
||||
<button class="btn" data-bind="click: function() { cancelData() }" aria-hidden="true">{{ _('Close') }}</button>
|
||||
<button class="btn btn-primary" data-bind="click: function() { saveData(undefined, $root.hide) }, enable: !exchanging(), css: {disabled: exchanging()}"><i class="fa fa-spinner fa-spin" data-bind="visible: sending"></i> {{ _('Save') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user