* luci/model/admin-full: override scheme for network overview page too to prevent "network.foo.ifname has no value" errors after wifi config created a new network on demand
This commit is contained in:
parent
a8d165a5bf
commit
d124dd9bb5
1 changed files with 9 additions and 8 deletions
|
@ -25,6 +25,7 @@ s = m:section(TypedSection, "interface", "")
|
||||||
s.addremove = true
|
s.addremove = true
|
||||||
s.extedit = luci.dispatcher.build_url("admin", "network", "network") .. "/%s"
|
s.extedit = luci.dispatcher.build_url("admin", "network", "network") .. "/%s"
|
||||||
s.template = "cbi/tblsection"
|
s.template = "cbi/tblsection"
|
||||||
|
s.override_scheme = true
|
||||||
|
|
||||||
function s.filter(self, section)
|
function s.filter(self, section)
|
||||||
return section ~= "loopback" and section
|
return section ~= "loopback" and section
|
||||||
|
|
Loading…
Reference in a new issue