Only provide save for filemanager editor

This commit is contained in:
Johannes Zellner
2020-09-01 12:39:02 +02:00
parent d7287b5c3c
commit 497be710a7
2 changed files with 3 additions and 13 deletions

View File

@@ -262,9 +262,8 @@
<div ng-show="view === 'textEditor'" class="text-editor">
<div>
<div class="toolbar">
<button type="button" class="btn btn-success" ng-click="textEditor.saveAndClose()" ng-disabled="textEditor.busy">Save and Close</button>
<button type="button" class="btn btn-primary" ng-click="textEditor.save()" ng-disabled="textEditor.busy">Save</button>
<div><span><i class="fa fa-circle-notch fa-spin" ng-show="textEditor.busy"></i> {{ textEditor.entry.fileName }}</span></div>
<button type="button" class="btn btn-success" ng-click="textEditor.save()" ng-disabled="textEditor.busy"><i class="fa fa-circle-notch fa-spin" ng-show="textEditor.busy"></i> Save</button>
<div><span>{{ textEditor.entry.fileName }}</span></div>
<button type="button" class="btn btn-primary" ng-click="textEditor.close()">Close</button>
</div>
</div>