kopia lustrzana https://github.com/c9/core
do not autoexpand hidden folder like .git or .c9
rodzic
31cad31185
commit
b3a4edaeb7
|
@ -461,7 +461,8 @@ define(function(require, exports, module) {
|
||||||
var child = node.children[0];
|
var child = node.children[0];
|
||||||
if (!child || !child.isFolder || child.$depth > 0xff)
|
if (!child || !child.isFolder || child.$depth > 0xff)
|
||||||
return;
|
return;
|
||||||
|
if (fsCache.isFileHidden(child.path))
|
||||||
|
return;
|
||||||
if (isExpand && !child.isOpen) {
|
if (isExpand && !child.isOpen) {
|
||||||
expandNode(child);
|
expandNode(child);
|
||||||
return true;
|
return true;
|
||||||
|
|
Ładowanie…
Reference in New Issue