luci-app-adblock: sync with 4.1.3-6
* remove support for shallalist
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1eddbe0f3f
)
Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
b18670642a
commit
8502cff941
1 changed files with 0 additions and 15 deletions
|
@ -579,21 +579,6 @@ return view.extend({
|
|||
categories = result[1].trim().split('\n');
|
||||
}
|
||||
|
||||
o = s.taboption('sources', form.DummyValue, '_sub');
|
||||
o.rawhtml = true;
|
||||
o.default = '<em><b>Shallalist Archive Selection</b></em>';
|
||||
|
||||
o = s.taboption('sources', form.DynamicList, 'adb_sha_sources', _('Categories'));
|
||||
for (var i = 0; i < categories.length; i++) {
|
||||
code = categories[i].match(/^(\w+);/)[1].trim();
|
||||
if (code === 'sha') {
|
||||
category = categories[i].match(/^\w+;(.*$)/)[1].trim();
|
||||
o.value(category);
|
||||
}
|
||||
}
|
||||
o.optional = true;
|
||||
o.rmempty = true;
|
||||
|
||||
o = s.taboption('sources', form.DummyValue, '_sub');
|
||||
o.rawhtml = true;
|
||||
o.default = '<em><b>UTCapitole Archive Selection</b></em>';
|
||||
|
|
Loading…
Reference in a new issue