Publish status data

Conflicts:

	libs/web/luasrc/dispatcher.lua
This commit is contained in:
Steven Barth 2008-10-30 19:12:56 +00:00
parent 9c9c78be10
commit 4f68b04b9c

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