Skip to content

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

Added initialization container

uggrocka37764252170
diff --git a/data/index.html b/data/index.html
index fbccf5a40..58722cb44 100644
--- a/data/index.html
+++ b/data/index.html
@@ -4,7 +4,7 @@
<!--
Copyright (c) 2012 The Tagspaces Authors. All rights reserved.
Use of this source code is governed by a AGPL3 license that
- can be found in the LICENSE file.
+ can be found in the LICENSE file. Initializing TagSpaces ...
-->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="icons/icon16.png">
@@ -18,7 +18,8 @@
<script type="text/javascript" data-main="loader" src="libs/requirejs/require.js"></script>
</head>
<body>
-<div id="container">
+<div id="initialization" style="widht: 100%; height: 100%; z-index: 9999"></div>
+<div id="container" style="display: none;">
<div class="ui-layout-north">
<span id="logo">TagSpaces<sup id="appVersion" style="font-size: 0.6em; color: #BFBFBF"></sup></span>
<span id="loadingAnimation">&nbsp;</span>
@@ -261,7 +262,6 @@
<div id="settingsEditor" style="width: 100%; height: 100%;"></div>
<div id="settingsPlainJSON" style="width: 100%; height: 100%;"></div>
</div>
-</div>
<ul class="contextMenu" id="favoritesList"></ul>
@@ -312,5 +312,7 @@
<li action="closeMenu" title=""><a href="javascript:void(0);"><span class="ui-icon ui-icon-close"></span>Close Menu</a></li>
</ul>
+</div>
+
</body>
</html>
\ No newline at end of file
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.js
index 4b8b6838e..bb622cce0 100644
--- a/data/js/directories.ui.js
+++ b/data/js/directories.ui.js
@@ -242,8 +242,7 @@ DirectoriesUI.initFavorites = function() {
break;
}
}
- });
- $( "#favoritesList" ).hide();
+ });
}
DirectoriesUI.openFavorite = function(path, title) {