Skip to content

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

refactoring for the new file save concept

Ilian710a262ee9c5
diff --git a/data/js/postioapi.js b/data/js/postioapi.js
index ae3b40617..623bce694 100644
--- a/data/js/postioapi.js
+++ b/data/js/postioapi.js
@@ -77,9 +77,8 @@ define(function(require, exports, module) {
if(isNewFile) {
// If file is new open it in edit mode
TSCORE.FileOpener.openFile(filePath, true);
- } else {
- TSCORE.FileOpener.openFile(filePath);
}
+ TSCORE.FileOpener.setFileChanged(false);
};
exports.listDirectory = function(anotatedDirList) {