diff --git a/CONTROL/control b/CONTROL/control index 8a8cf17..c8491a8 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: sweeper Priority: optional Section: misc -Version: 2.1.3 +Version: 2.1.3-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif(>=1.3.0-1) diff --git a/webif/plugin/sweeper/script.js b/webif/plugin/sweeper/script.js index 4709719..03cf5dc 100644 --- a/webif/plugin/sweeper/script.js +++ b/webif/plugin/sweeper/script.js @@ -730,7 +730,7 @@ function loadrules(dir) { $('#ruleset') .html(' Loading rules...'); - $.getJSON('rules_json.jim', 'dir=' + dir, function(data) { + $.getJSON('rules_json.jim', {'dir': dir}, function(data) { $('#ruleset').empty(); if (!data.length) {