diff options
-rw-r--r-- | modules/luci-lua-runtime/luasrc/dispatcher.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-lua-runtime/luasrc/dispatcher.lua b/modules/luci-lua-runtime/luasrc/dispatcher.lua index e009147f05..cd850aa365 100644 --- a/modules/luci-lua-runtime/luasrc/dispatcher.lua +++ b/modules/luci-lua-runtime/luasrc/dispatcher.lua @@ -267,7 +267,7 @@ function invoke_cbi_action(model, config, ...) http:header("X-CBI-State", state or 0) if not config.noheader then - tpl.render("cbi/header", {state = state}) + _G.L.include("cbi/header", {state = state}) end local redirect @@ -318,7 +318,7 @@ function invoke_cbi_action(model, config, ...) end if not config.nofooter then - tpl.render("cbi/footer", { + _G.L.include("cbi/footer", { flow = config, pageaction = pageaction, redirect = redirect, |