Skip to content

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

Fixed old cordova file api property

Borislav Sapundzhiev1e33c3919197
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 330cd6e1b..9778d9d1e 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -90,7 +90,7 @@ define(function(require, exports, module) {
} else {
var fileName = widgetAction.substring(widgetAction.lastIndexOf('/'), widgetAction.length);
var newFileName = TSCORE.currentPath + fileName;
- var newFileFullPath = fsRoot.fullPath + "/" + newFileName;
+ var newFileFullPath = fsRoot.nativeURL + "/" + newFileName;
renameFile(widgetAction, newFileName);
TSCORE.FileOpener.openFile(newFileFullPath);
}