Skip to content

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

Fixed a tagging issue

uggrockd4288542644c
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index e26019deb..386b97074 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -241,7 +241,8 @@ define(function(require, exports, module) {
})
.prepend("<i class='icon-tags'></i>")
.click(function() {
- //var filePath = $(this).attr( "filepath" );
+ TSCORE.PerspectiveManager.clearSelectedFiles();
+ TSCORE.selectedFiles.push(filePath);
TSCORE.showAddTagsDialog();
})
));