Skip to content

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

adding handling for failed dir renames

Iliana9f064c2ada6
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 83e2b99bb..0d6618f84 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -328,6 +328,7 @@ define(function (require, exports, module) {
TSPOSTIO.deleteDirectory(dirPath);
},
function() {
+ TSPOSTIO.deleteDirectoryFailed(path);
console.log("error deleting dir: "+dirPath);
}
);