TagSpaces is an offline, open source, document manager with tagging support
Refactoring of perspectiveThumb
uggrockf2d7d0f05d25
diff --git a/data/ext/perspectiveThumb/extension.js b/data/ext/perspectiveThumb/extension.jsindex 7d2a37a64..74ccb675c 100644--- a/data/ext/perspectiveThumb/extension.js+++ b/data/ext/perspectiveThumb/extension.js@@ -75,8 +75,8 @@ define(function(require, exports, module) {for (var i=0; i < TSCORE.fileList.length; i++) {var fileName = TSCORE.fileList[i][0];- var fileExt = TSCORE.TagUtils.extractFileExtension(fileName);- var filePath = TSCORE.currentPath+TSCORE.TagUtils.DIR_SEPARATOR+fileName;+ var fileExt = TSCORE.fileList[i][6];+ var filePath = TSCORE.fileList[i][4];if(supportedFileTypeThumnailing.indexOf(fileExt) >= 0) {$("#"+exports.ID+"SelectableFiles").append($('<li>', { title: fileName, filepath: filePath, class: 'ui-widget-content' }).append(