TagSpaces is an offline, open source, document manager with tagging support
Check style
kristiyandd4c6ecdf646b5
diff --git a/data/js/meta.js b/data/js/meta.jsindex 1e0ffa3c8..8bf3cfc02 100644--- a/data/js/meta.js+++ b/data/js/meta.js@@ -121,7 +121,7 @@ define(function(require, exports, module) {}var newName = TSCORE.Utils.baseName(newFileName) + "." + element.name.split('.').pop();var newFilePath = path + TSCORE.dirSeparator + TSCORE.metaFolder + TSCORE.dirSeparator + newName;- if(newFilePath !== undefined){+ if (path !== undefined) {createMetaFolder(path);}TSCORE.IO.copyFilePromise(element.path, newFilePath);