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 1eddbe0f3f0b00366694424f1445ea6cceb7d7d5) Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
b18670642a
commit
8502cff941
@ -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…
x
Reference in New Issue
Block a user