Skip to content

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

Name of the current favorite folder shown in title of the tab/applicaiton

uggrockc6f12e89094f
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.js
index 75fcf4eb2..0ccf73ddc 100644
--- a/data/js/directories.ui.js
+++ b/data/js/directories.ui.js
@@ -10,6 +10,8 @@ DirectoriesUI.directoryHistory = [];
DirectoriesUI.openFavorite = function(path, title) {
console.debug("Opening favorite in : "+path+" title: "+title);
+ document.title = TSSETTINGS.DefaultSettings.appName + " - " + title;
+
$( "#reloadTagSpace" ).button({
label: title
});