summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r--libs/web/luasrc/dispatcher.lua4
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