Skip to content

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

fixing issue with showing image thumbnail after rename

Ilianb5521429a4ae
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index 613cd6a7b..e79a00e6d 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -73,7 +73,7 @@ console.log("Loading UI for perspectiveDefault");
var context = {
filepath: filePath,
- tmbpath: tmbPath,
+ tmbpath: this.thumbEnabled?tmbPath:"",
fileext: fileExt,
title: title,
tags : []
@@ -574,6 +574,9 @@ console.log("Loading UI for perspectiveDefault");
$("#"+this.extensionID+"Container").find(".fileTileSelector").find("i")
.removeClass("fa-check-square")
.addClass("fa-square-o");
+
+ // Reseting select all button
+ //$("#"+this.extensionID+"ToogleSelectAll").find("i").removeClass("fa-check-square").addClass("fa-square-o");
};
ExtUI.prototype.selectFile = function(filePath) {