✨ feat(editor): add button for save on closing
This commit is contained in:
parent
bf7ebbd261
commit
794b016bc3
|
@ -34,8 +34,11 @@
|
||||||
<button class="btn btn-small" data-bind="click: checkSyntax" title="{{ _('Check Syntax') }}">
|
<button class="btn btn-small" data-bind="click: checkSyntax" title="{{ _('Check Syntax') }}">
|
||||||
<i class="fas fa-spell-check"></i> {{ _('Check Syntax') }}
|
<i class="fas fa-spell-check"></i> {{ _('Check Syntax') }}
|
||||||
</button>
|
</button>
|
||||||
|
<button class="btn btn-small" data-bind="click: function() { $root.saveCfg({closing: true}) }" title="{{ _('Save Config and Close') }}">
|
||||||
|
<i class="fas fa-save"></i> {{ _('Save & Close') }}
|
||||||
|
</button>
|
||||||
<button class="btn btn-small" data-bind="click: saveCfg" title="{{ _('Save Config') }}">
|
<button class="btn btn-small" data-bind="click: saveCfg" title="{{ _('Save Config') }}">
|
||||||
<i class="fas fa-save"></i> {{ _('Save Config') }}
|
<i class="fas fa-save"></i> {{ _('Save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue