TagSpaces is an offline, open source, document manager with tagging support
load thumbnails in lite version
Borislav Sapundzhievdeeddc65cff7
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex 6707bf763..d7bfb3a2d 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -367,14 +367,14 @@ define(function(require, exports, module) {console.log('Dir History: ' + JSON.stringify(directoryHistory));TSCORE.currentPath = directoryPath;- if (TSCORE.PRO && TSCORE.Config.getEnableMetaData()) {+ //if (TSCORE.PRO && TSCORE.Config.getEnableMetaData()) {TSCORE.Meta.getDirectoryMetaInformation(function() {TSCORE.IO.listDirectory(directoryPath);TSCORE.IO.createMetaFolder(directoryPath);});- } else {- TSCORE.IO.listDirectory(directoryPath);- }+ //} else {+ // TSCORE.IO.listDirectory(directoryPath);+ //}}function initUI() {diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.jsindex 727b006d4..abbe6d96a 100644--- a/data/js/perspective.manager.js+++ b/data/js/perspective.manager.js@@ -224,8 +224,7 @@ define(function(require, exports, module) {metaObj];TSCORE.fileList.push(entry);- TSCORE.Meta.loadMetaDataFromFile(entry);- //workers.push(TSCORE.Meta.loadMetaDataFromFile(entry));+ workers.push(TSCORE.Meta.loadMetaDataFromFile(entry));} else {entry = [path,@@ -235,14 +234,14 @@ define(function(require, exports, module) {}}}-- /*Promise.all(workers).then(function(result) {- changePerspective(TSCORE.currentPerspectiveID);++ changePerspective(TSCORE.currentPerspectiveID);+ Promise.all(workers).then(function(result) {+ console.log("MetaData loaded");+ //changePerspective(TSCORE.currentPerspectiveID);}).catch(function(e) {console.error("MetaData Error: " + e);- });*/- changePerspective(TSCORE.currentPerspectiveID);-+ });};var refreshFileListContainer = function() {diff --git a/data/loader.js b/data/loader.jsindex 994a367e2..2c6014db0 100644--- a/data/loader.js+++ b/data/loader.js@@ -56,7 +56,7 @@ var isWin = navigator.appVersion.indexOf("Win")!==-1;}var PRO_JS = "pro/js/pro.api";- //if(PRO.indexOf("@@PROVERS") == 0 || PRO == "false") { PRO_JS = 'js/pro'; }+ if(PRO.indexOf("@@PROVERS") == 0 || PRO == "false") { PRO_JS = 'js/pro'; }console.log("Loading Loader - Firefox: "+isFirefox+" | ChromeExt: "+isChrome+" | Node: "+isNode+" | Cordova: "+isCordova+" | Web: "+isWeb+" | isWin: "+isWin);