Publish status data
Conflicts: libs/web/luasrc/dispatcher.lua
This commit is contained in:
parent
9c9c78be10
commit
4f68b04b9c
1 changed files with 2 additions and 2 deletions
|
@ -517,11 +517,11 @@ function cbi(model)
|
|||
end
|
||||
|
||||
http.header("X-CBI-State", state or 0)
|
||||
luci.template.render("cbi/header")
|
||||
luci.template.render("cbi/header", {state = state})
|
||||
for i, res in ipairs(maps) do
|
||||
res:render()
|
||||
end
|
||||
luci.template.render("cbi/footer")
|
||||
luci.template.render("cbi/footer", {state = state})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue