diff options
author | Steven Barth <steven@midlink.org> | 2008-10-30 19:10:08 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-30 19:10:08 +0000 |
commit | b202a403ff38453c978c7ad0d972525cd81c7b99 (patch) | |
tree | 97100abf112009f7df13e9f7b029d90b524ec5c8 /libs/web | |
parent | 2d4f21e9552eb5bc7fed66628ed12610c4cc8f2b (diff) |
Publish status data
Conflicts:
libs/web/luasrc/dispatcher.lua
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 9025529d7..03e7c7d65 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -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 |