TagSpaces is an offline, open source, document manager with tagging support
TS83 - fixed fullpath
Borislav Sapundzhiev643917ba71ce
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.jsindex 9543838bb..776f974e2 100644--- a/data/cordova/cordova.api.js+++ b/data/cordova/cordova.api.js@@ -285,9 +285,9 @@ define(function(require, exports, module) {function(entry) {if (!entry.fullPath && isCordovaiOS) {- var URL = "cdvfile://localhost/persistent";+ var URL = "cdvfile://localhost/persistent/";entry.fullPath = decodeURIComponent(entry.localURL);- entry.fullPath = entry.fullPath.substring(URL.length, entry.fullPath.length);+ entry.fullPath = fsRoot.nativeURL + entry.fullPath.substring(URL.length, entry.fullPath.length);}anotatedDirList.push({diff --git a/data/ext/viewerImage/viewer.js b/data/ext/viewerImage/viewer.jsindex 9ebcf31ff..f68ecead4 100644--- a/data/ext/viewerImage/viewer.js+++ b/data/ext/viewerImage/viewer.js@@ -30,9 +30,7 @@ $(document).ready(function() {if (isCordova || isWeb) {- if (parent.isCordovaiOS) {- filePath = "cdvfile://localhost/persistent" + encodeURIComponent(filePath);- }+} else {filePath = "file://" + filePath;}