From: Steven Barth Date: Thu, 30 Oct 2008 19:10:08 +0000 (+0000) Subject: Publish status data X-Git-Tag: 0.9.0~1043 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b202a403ff38453c978c7ad0d972525cd81c7b99;p=oweals%2Fluci.git Publish status data Conflicts: libs/web/luasrc/dispatcher.lua --- 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