projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca57291
)
luci-lua-runtime: fix loading header/footer templates for SimpleForms
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 26 Oct 2022 13:30:11 +0000
(15:30 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 26 Oct 2022 13:30:11 +0000
(15:30 +0200)
Fixes: #6054
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-lua-runtime/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/modules/luci-lua-runtime/luasrc/dispatcher.lua
b/modules/luci-lua-runtime/luasrc/dispatcher.lua
index 7859ba17a3e53008fc24ab0456c09c42a4574e51..e009147f0521a1b26f9b72371c238cd0e5cd1e0e 100644
(file)
--- a/
modules/luci-lua-runtime/luasrc/dispatcher.lua
+++ b/
modules/luci-lua-runtime/luasrc/dispatcher.lua
@@
-346,11
+346,11
@@
function invoke_form_action(model, ...)
end
http:header("X-CBI-State", state or 0)
-
tpl.render
("header")
+
_G.L.include
("header")
for i, res in ipairs(maps) do
res:render()
end
-
tpl.render
("footer")
+
_G.L.include
("footer")
end