TagSpaces is an offline, open source, document manager with tagging support
fixing not hiding issue with the loading dialog
uggrock659cc3f79b5d
diff --git a/data/js/ioutils.js b/data/js/ioutils.jsindex effbc691e..dd25fc812 100644--- a/data/js/ioutils.js+++ b/data/js/ioutils.js@@ -80,7 +80,8 @@ define(function(require, exports, module) {TSCORE.IOUtils.walkDirectory(dirPath, {recursive: true}, function(fileEntry) {directoryIndex.push(fileEntry);}).then(function(entries) {- TSPOSTIO.createDirectoryIndex(directoryIndex);+ TSCORE.hideWaitingDialog();+ TSCORE.PerspectiveManager.updateFileBrowserData(directoryIndex);}).catch(function(err) {console.warn("Error creating index: " + err);TSCORE.hideWaitingDialog();diff --git a/data/js/postioapi.js b/data/js/postioapi.jsindex 41424a5b5..ab120380e 100644--- a/data/js/postioapi.js+++ b/data/js/postioapi.js@@ -7,11 +7,6 @@ define(function(require, exports, module) {// Activating browser specific exports modulconsole.log('Loading postioapi.js ...');var TSCORE = require('tscore');- exports.createDirectoryIndex = function(directoryIndex) {- console.log('Directory index created');- TSCORE.PerspectiveManager.updateFileBrowserData(directoryIndex);- TSCORE.hideWaitingDialog();- };exports.createDirectoryTree = function(directoryTree) {TSCORE.PerspectiveManager.updateTreeData(directoryTree);