Publish status data

Conflicts:

	libs/web/luasrc/dispatcher.lua
This commit is contained in:
Steven Barth 2008-10-30 19:10:08 +00:00
parent 2d4f21e955
commit b202a403ff

View file

@ -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