From b202a403ff38453c978c7ad0d972525cd81c7b99 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 30 Oct 2008 19:10:08 +0000 Subject: Publish status data Conflicts: libs/web/luasrc/dispatcher.lua --- libs/web/luasrc/dispatcher.lua | 4 ++-- 1 file 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 -- cgit v1.2.3