Skip to content

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

fixing issue #125 remind the user to enable "Allow access to file URLs"

uggrockbdfb687ab5a6
diff --git a/data/js/core.api.js b/data/js/core.api.js
index ff0fc587d..c87069bef 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -80,6 +80,8 @@ define(function(require, exports, module) {
initKeyBindings();
$( "#loading" ).hide();
+ tsIOApi.checkAccessFileURLAllowed();
+
// Show welcome dialog of first start
if(tsSettings.isFirstRun()) {
tsCoreUI.showWelcomeDialog();
@@ -101,7 +103,7 @@ define(function(require, exports, module) {
//tsIOApi.handleTray();
}
- console.log("Layout initialized");
+ console.log("Docoument ready finished. Layout initialized");
});
checkForNewVersion();
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.js
index 0de4000ac..5646ea661 100644
--- a/data/js/perspective.manager.js
+++ b/data/js/perspective.manager.js
@@ -57,6 +57,7 @@ var initPerspectives = function () {
var lastLocation = TSCORE.Config.getLastOpenedLocation();
if(lastLocation !== undefined && lastLocation.length > 1 && !isFirefox) {
TSCORE.openLocation(lastLocation);
+ TSCORE.IO.checkAccessFileURLAllowed();
}
}
}