fix creation of file rule

This commit is contained in:
hummypkg 2016-06-27 18:38:01 +00:00
parent 5db080604d
commit 6829dfaec2
1 changed files with 2 additions and 0 deletions

View File

@ -347,6 +347,8 @@ function addrule(id, data)
data.type = 'recurse';
data.depth = 1;
}
else if (data.type == 'file')
data.depth = 0;
rule.find('span.comment').html(data.name);
switch (data.type)