diff --git a/webif/plugin/sweeper/script.js b/webif/plugin/sweeper/script.js index 11aade4..4709719 100644 --- a/webif/plugin/sweeper/script.js +++ b/webif/plugin/sweeper/script.js @@ -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)