Skip to content

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

Improved work with config

uggrock1da2b359e989
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.js
index c9e575403..c4eea274c 100644
--- a/data/js/perspective.manager.js
+++ b/data/js/perspective.manager.js
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012 The Tagspaces Authors. All rights reserved.
+/* Copyright (c) 2012-2013 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. */
define(function(require, exports, module) {
@@ -133,8 +133,8 @@ var updateFileBrowserData = function(dirList) {
for (var i=0; i < dirList.length; i++) {
if (dirList[i].type == "file"){
// Considering Unix HiddenEntries (. in the beginning of the filename)
- if (TSCORE.Config.Settings["showUnixHiddenEntries"] ||
- (!TSCORE.Config.Settings["showUnixHiddenEntries"] && (dirList[i].name.indexOf(".") != 0))) {
+ if (TSCORE.Config.getShowUnixHiddenEntries() ||
+ (!TSCORE.Config.getShowUnixHiddenEntries() && (dirList[i].name.indexOf(".") != 0))) {
filename = dirList[i].name;
path = dirList[i].path;
tags = TSCORE.TagUtils.extractTags(path);