Skip to content

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

adding saveBinaryFile function

Ilian91fd12f82064
diff --git a/data/js/postioapi.js b/data/js/postioapi.js
index 1ac337995..fa5278a35 100644
--- a/data/js/postioapi.js
+++ b/data/js/postioapi.js
@@ -70,7 +70,11 @@ define(function(require, exports, module) {
TSCORE.FileOpener.updateEditorContent(content);
TSCORE.hideLoadingAnimation();
};
-
+
+ exports.saveBinaryFile = function(filePath) {
+ TSCORE.PerspectiveManager.refreshFileListContainer();
+ };
+
exports.saveTextFile = function(filePath, isNewFile) {
TSCORE.PerspectiveManager.refreshFileListContainer();