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