mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
@@ -27,6 +27,7 @@ back.titleref = luci.dispatcher.build_url("admin", "network", "wireless")
|
||||
en = s:option(Flag, "disabled", translate("enable"))
|
||||
en.enabled = "0"
|
||||
en.disabled = "1"
|
||||
en.rmempty = false
|
||||
|
||||
function en.cfgvalue(self, section)
|
||||
return Flag.cfgvalue(self, section) or "0"
|
||||
|
||||
@@ -131,6 +131,7 @@ s = m:section(NamedSection, wifidevs[1], "wifi-device", translate("devices"))
|
||||
s.addremove = false
|
||||
|
||||
en = s:option(Flag, "disabled", translate("enable"))
|
||||
en.rmempty = false
|
||||
en.enabled = "0"
|
||||
en.disabled = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user