TagSpaces is an offline, open source, document manager with tagging support
refresh file list if the saved file is new
Iliancd00d8443cb0
diff --git a/data/js/postioapi.js b/data/js/postioapi.jsindex 3c4d9570e..38f686ba8 100644--- a/data/js/postioapi.js+++ b/data/js/postioapi.js@@ -56,8 +56,11 @@ define(function(require, exports, module) {TSCORE.hideLoadingAnimation();};- exports.saveTextFile = function(filePath) {- TSCORE.PerspectiveManager.refreshFileListContainer();+ exports.saveTextFile = function(filePath, isNewFile) {+ // If the file is new, then refresh the filelist+ if(isNewFile) {+ TSCORE.PerspectiveManager.refreshFileListContainer();+ }//if(!TSCORE.FileOpener.isFileOpened()) {TSCORE.FileOpener.openFile(filePath);//}