Skip to content

TagSpaces is an offline, open source, document manager with tagging support

moving the delete button, removing unneeded refresh

uggrock80e00e8ab760
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 37d3add93..4eed2a328 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -90,7 +90,6 @@ define(function(require, exports, module) {
$.i18n.t('ns.dialogs:selectedFilesDeleteContentConfirm'), function() {
TSCORE.selectedFiles.forEach(function(file) {
TSCORE.IO.deleteElement(file);
- TSCORE.PerspectiveManager.removeFileUI(file);
});
});
});
diff --git a/data/ext/perspectiveList/toolbar.html b/data/ext/perspectiveList/toolbar.html
index 703a2a188..c77465957 100644
--- a/data/ext/perspectiveList/toolbar.html
+++ b/data/ext/perspectiveList/toolbar.html
@@ -29,9 +29,6 @@
<i class="fa fa-folder-o fa-lg fa-fw"></i>&nbsp;<span data-i18n="ns.common:newSubdirectory"></span>
</a></li>
</ul>
- <button class="btn btn-link" data-i18n="[title]ns.perspectiveList:deleteSelectedFilesTooltip" id="{{id}}DeleteSelectedFilesButton">
- <i class="fa fa-trash fa-lg"></i>
- </button>
<button class="btn btn-link" data-i18n="[title]ns.perspectiveList:addRemoveTagsTooltip" id="{{id}}TagButton">
<i class="fa fa-tag fa-lg"></i>
</button>
@@ -47,6 +44,9 @@
<button class="btn btn-link" data-i18n="[title]ns.perspectiveList:reloadDirectoryTooltip" id="{{id}}ReloadFolderButton">
<i class="fa fa-refresh fa-lg"></i>
</button>
+ <button class="btn btn-link" data-i18n="[title]ns.perspectiveList:deleteSelectedFilesTooltip" id="{{id}}DeleteSelectedFilesButton">
+ <i class="fa fa-trash fa-lg"></i>
+ </button>
</div>
<div class="btn-group" style="margin-left: 0;">
<button type="button" class="btn btn-link dropdown-toggle" data-toggle="dropdown">