Skip to content

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

correcting the opening of the containing folder in the file viewer

Ilian6f0300cddd46
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index 585d8619b..c7e313500 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -100,7 +100,7 @@ define(function(require, exports, module) {
$( "#openDirectory" )
.click( function() {
- TSCORE.IO.openDirectory(TSCORE.currentPath);
+ TSCORE.IO.openDirectory(TSCORE.TagUtils.extractParentDirectoryPath(_openedFilePath));
});
$( "#fullscreenFile" )