Skip to content

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

correcting delete dialog call

Ilian Sapundshievb0de415d6eeb
diff --git a/data/js/core.api.js b/data/js/core.api.js
index ba46fd5c0..c3447691b 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -231,7 +231,7 @@ define(function(require, exports, module) {
tsCoreUI.showFileRenameDialog(TSCORE.selectedFiles[0]);
});
Mousetrap.bind(tsSettings.getDeleteDocumentKeyBinding(), function() {
- tsCoreUI.showDeleteFilesDialog(TSCORE.selectedFiles[0]);
+ tsCoreUI.showDeleteFilesDialog();
});
Mousetrap.bind(tsSettings.getOpenFileKeyBinding(), function() {
tsFileOpener.openFile(TSCORE.selectedFiles[0]);