do not autoexpand hidden folder like .git or .c9

pull/282/head
nightwing 2016-03-31 14:58:46 +04:00
rodzic 31cad31185
commit b3a4edaeb7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -461,7 +461,8 @@ define(function(require, exports, module) {
var child = node.children[0];
if (!child || !child.isFolder || child.$depth > 0xff)
return;
if (fsCache.isFileHidden(child.path))
return;
if (isExpand && !child.isOpen) {
expandNode(child);
return true;