Skip to content

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

disable closing of the current location if a path was wrong or can not be opened.

Iliane93ace7f4a89
diff --git a/data/js/postioapi.js b/data/js/postioapi.js
index 4242a6739..fe46f04cc 100644
--- a/data/js/postioapi.js
+++ b/data/js/postioapi.js
@@ -17,12 +17,12 @@ define(function(require, exports, module) {
exports.createDirectoryTree = function(directoyTree) {
TSCORE.PerspectiveManager.updateTreeData(directoyTree);
- //TSCORE.hideLoadingAnimation();
- };
+ TSCORE.hideWaitingDialog();
+ };
exports.createDirectory = function(dirPath) {
TSCORE.navigateToDirectory(dirPath);
- TSCORE.hideLoadingAnimation();
+ TSCORE.hideWaitingDialog();
};
exports.copyFile = function(sourceFilePath, targetFilePath) {
@@ -97,7 +97,7 @@ define(function(require, exports, module) {
exports.errorOpeningPath = function() {
TSCORE.showAlertDialog($.i18n.t("ns.dialogs:errorOpeningLocationAlert"));
- TSCORE.closeCurrentLocation();
+ //TSCORE.closeCurrentLocation();
};
exports.deleteElement = function(filePath) {