update 2025-01-11 14:15:08
This commit is contained in:
parent
34d6b95e89
commit
c4fb0d2ddf
|
@ -49,6 +49,12 @@ m = Map(appname)
|
||||||
s = m:section(TypedSection, "global_subscribe", "")
|
s = m:section(TypedSection, "global_subscribe", "")
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
|
||||||
|
function m.commit_handler(self)
|
||||||
|
self.uci:foreach(appname, "subscribe_list", function(e)
|
||||||
|
self:del(e[".name"], "md5")
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
o = s:option(ListValue, "filter_keyword_mode", translate("Filter keyword Mode"))
|
o = s:option(ListValue, "filter_keyword_mode", translate("Filter keyword Mode"))
|
||||||
o:value("0", translate("Close"))
|
o:value("0", translate("Close"))
|
||||||
o:value("1", translate("Discard List"))
|
o:value("1", translate("Discard List"))
|
||||||
|
|
|
@ -50,6 +50,10 @@ s = m:section(NamedSection, arg[1])
|
||||||
s.addremove = false
|
s.addremove = false
|
||||||
s.dynamic = false
|
s.dynamic = false
|
||||||
|
|
||||||
|
function m.commit_handler(self)
|
||||||
|
self:del(arg[1], "md5")
|
||||||
|
end
|
||||||
|
|
||||||
o = s:option(Value, "remark", translate("Subscribe Remark"))
|
o = s:option(Value, "remark", translate("Subscribe Remark"))
|
||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue