💄 Make about button always open 'About OctoPrint'
While the 'About OctoPrint' button opened the dialog, it creates confusing behaviour if a user clicks 'System info' first, since 'About OctoPrint' will then open the system info too. This PR adjusts this, to force 'About OctoPrint' to open to the about page.
This commit is contained in:
1 parent
7d49f20571
commit
b5ce6281d8
1 file changed
+1
-1
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn aboutlink" data-bind="click: about.show"><i class="fas fa-info-circle"></i> {{ _('About OctoPrint') }}</button>
|
||||
<button class="btn aboutlink" data-bind="click: function() { about.show('about_about') }"><i class="fas fa-info-circle"></i> {{ _('About OctoPrint') }}</button>
|
||||
<button class="btn systeminfolink" data-bind="click: function() { about.show('about_systeminfo') }"><i class="fas fa-flag-checkered"></i> {{ _('System info') }}</button>
|
||||
<button class="btn" data-test-id="settings-close-button" data-bind="click: function() { cancelData() }" aria-hidden="true">{{ _('Close') }}</button>
|
||||
<button class="btn btn-primary" data-test-id="settings-save" data-bind="click: function() { saveData(undefined, $root.hide) }, enable: !exchanging(), css: {disabled: exchanging()}"><i class="fas fa-spinner fa-spin" data-bind="visible: sending"></i> {{ _('Save') }}</button>
|
||||
|
||||
Reference in new issue
Block a user