TagSpaces is an offline, open source, document manager with tagging support
ML53 - cordova folder rename
Borislav Sapundzhiev7be500fd2d86
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.jsindex 157cef93b..c76228867 100644--- a/data/cordova/cordova.api.js+++ b/data/cordova/cordova.api.js@@ -826,7 +826,6 @@ define(function(require, exports, module) {dirPath = normalizePath(dirPath);var newDirParentPath = normalizePath(newDirPath.substring(0, newDirPath.lastIndexOf('/')));- newDirPath = normalizePath(newDirPath);console.log("renameDirectoryPromise: " + dirPath + " to: " + newDirPath);// TODO check if the newFilePath exist or cause issues by renamingfsRoot.getDirectory(newDirParentPath, {diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex dbf20ca60..0a3f04de3 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -462,8 +462,9 @@ define(function(require, exports, module) {TSCORE.Meta.getDirectoryMetaInformation().then(function(dirList) {TSCORE.metaFileList = dirList;listDirectory(directoryPath);- }, function(error) {+ }).catch( function(error) {console.log(error);+ TSCORE.metaFileList = undefined;listDirectory(directoryPath);});}