forked from hummypkg/sweeper
fix creation of file rule
This commit is contained in:
parent
5db080604d
commit
6829dfaec2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user