TagSpaces is an offline, open source, document manager with tagging support
TS82 - load last opened location on strat
Borislav Sapundzhiev182cd16f8356
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.jsindex 7349f6d68..5bd4595f3 100644--- a/data/js/perspective.manager.js+++ b/data/js/perspective.manager.js@@ -42,7 +42,7 @@ define(function(require, exports, module) {initPerspectiveSwitcher();// Opening last saved location by the start of the application (not in firefox)var lastLocation = TSCORE.Config.getLastOpenedLocation();- if (lastLocation !== undefined && lastLocation.length > 1 && !isFirefox) {+ if (lastLocation !== undefined && lastLocation.length >= 1 && !isFirefox) {TSCORE.openLocation(lastLocation);TSCORE.IO.checkAccessFileURLAllowed();}diff --git a/data/loader.js b/data/loader.jsindex 8fbba9226..26ad1d59f 100644--- a/data/loader.js+++ b/data/loader.js@@ -53,9 +53,9 @@ if( isFirefox ) {}var PRO_JS = "js/pro";-if(PRO === "true" || PRO === "@@PRO") {- PRO_JS = 'pro/js/pro.api'-}+//if(PRO === "true" || PRO === "@@PRO") {+// PRO_JS = 'pro/js/pro.api'+//}console.log("Loading Loader - Firefox: "+isFirefox+" | ChromeExt: "+isChrome+" | Node: "+isNode+" | Cordova: "+isCordova+" | Web: "+isWeb+" | isWin: "+isWin);