mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
Publish status data
Conflicts: libs/web/luasrc/dispatcher.lua
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user