Skip to content

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

TS230 - cordova file properties fix

Borislav Sapundzhievb97b4d3ff113
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 123668ac3..e0b33d1fc 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -430,10 +430,6 @@ define(function(require, exports, module) {
filePath = normalizePath(filePath);
//getFileSystemPromise(dir).then(function(fileSystem) {
var fileProperties = {};
- // TODO function broken..
- if (filePath.indexOf("file://") !== 0) {
- filePath = "file:///" + filePath;
- }
fsRoot.getFile(filePath, {
create: false,
exclusive: false