From 8502cff941928a29489631c275d91fa553a74695 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Tue, 10 May 2022 18:11:39 +0200 Subject: [PATCH] luci-app-adblock: sync with 4.1.3-6 * remove support for shallalist Signed-off-by: Dirk Brenken (cherry picked from commit 1eddbe0f3f0b00366694424f1445ea6cceb7d7d5) Signed-off-by: Dirk Brenken --- .../resources/view/adblock/overview.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js index 060e7eaa35..7e9e87eeeb 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js @@ -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 = 'Shallalist Archive Selection'; - - 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 = 'UTCapitole Archive Selection';