TagSpaces is an offline, open source, document manager with tagging support
Disable directory deletion in the mozilla io API
Ilianc5d81eaedc8c
diff --git a/lib/ioutils.js b/lib/ioutils.jsindex 2da6f3810..b98d3cfa3 100644--- a/lib/ioutils.js+++ b/lib/ioutils.js@@ -251,14 +251,14 @@ exports.deleteElement = function deleteElement(path, worker) {"success": true});console.log("Deleting file successful!");- } else {+ } /* else {filesIO.rmdir(path);worker.postMessage({"command": "delete","success": true});console.log("Deleting directory successful!");- }+ } */} catch(ex) {worker.postMessage({"command": "delete",