TagSpaces is an offline, open source, document manager with tagging support
fixing refresh after deleting #149
uggrock8bbb823eddc6
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex db9ef738c..6f9bad228 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -653,7 +653,7 @@ console.log("Loading UI for perspectiveDefault");console.log("Removing "+filePath+" from UI");// Updating the file selection- TSCORE.selectedFiles.splice(TSCORE.selectedFiles.indexOf(oldFilePath), 1);+ TSCORE.selectedFiles.splice(TSCORE.selectedFiles.indexOf(filePath), 1);if(isWin && !isWeb) {filePath = filePath.replace("\\","");diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.jsindex 5f1c8992d..71071484f 100644--- a/data/ext/perspectiveList/perspectiveUI.js+++ b/data/ext/perspectiveList/perspectiveUI.js@@ -568,7 +568,7 @@ console.log("Loading UI for perspectiveList");console.log("Removing from UI"+filePath+" from UI");// Updating the file selection- TSCORE.selectedFiles.splice(TSCORE.selectedFiles.indexOf(oldFilePath), 1);+ TSCORE.selectedFiles.splice(TSCORE.selectedFiles.indexOf(filePath), 1);var row4remove;if(isWin && !isWeb) {