Skip to content

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

correcting issue with deleting files

uggrocke2583577e567
diff --git a/data/js/postioapi.js b/data/js/postioapi.js
index ff2c28cd2..081f23044 100644
--- a/data/js/postioapi.js
+++ b/data/js/postioapi.js
@@ -110,7 +110,7 @@ define(function(require, exports, module) {
exports.deleteElement = function(filePath) {
TSCORE.removeFileModel(TSCORE.fileList, filePath);
- TSCORE.updateMetaData(filePath);
+ TSCORE.Meta.updateMetaData(filePath);
TSCORE.PerspectiveManager.removeFileUI(filePath);
if (filePath === TSCORE.FileOpener.getOpenedFilePath()) {
TSCORE.FileOpener.closeFile(true);