TagSpaces is an offline, open source, document manager with tagging support
TS89 file rename fix
Borislav Sapundzhievcafa622f7f06
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.jsindex e90e91313..4500f4a67 100644--- a/data/cordova/cordova.api.js+++ b/data/cordova/cordova.api.js@@ -621,7 +621,8 @@ define(function(require, exports, module) {var renameFile = function(filePath, newFilePath) {filePath = normalizePath(filePath);var newFileName = newFilePath.substring(newFilePath.lastIndexOf('/') + 1);- var newFileParentPath = normalizePath(newFilePath.substring(0, newFilePath.lastIndexOf('/')));+ var newFileParentPath = normalizePath(newFilePath.substring(0, newFilePath.lastIndexOf('/') + 1));+ console.log("renameFile: " + newFileName + " newFilePath: " + newFilePath);// TODO check if the newFilePath exist or causes issues by renamingfsRoot.getDirectory(newFileParentPath, {create: false,