diff options
author | Steven Barth <steven@midlink.org> | 2009-04-03 18:08:25 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-04-03 18:08:25 +0000 |
commit | f3deef9ec570d49795346516d34c1b42fb416fde (patch) | |
tree | fe1a6cb694c4287b6dd4b671f6dca0ffa6cea81f /libs/web/luasrc/dispatcher.lua | |
parent | baab33794bb53375a7eddac72dace20b34db7862 (diff) |
Backport Skip-Button support
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 89fa0d22f..565e995d1 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -640,9 +640,7 @@ local function _cbi(self, ...) local state = nil for i, res in ipairs(maps) do - if config.autoapply then - res.autoapply = config.autoapply - end + res.flow = config local cstate = res:parse() if cstate and (not state or cstate < state) then state = cstate @@ -682,7 +680,7 @@ local function _cbi(self, ...) end end if not config.nofooter then - tpl.render("cbi/footer", {pageaction=pageaction, state = state, autoapply = config.autoapply}) + tpl.render("cbi/footer", {flow = config, pageaction=pageaction, state = state, autoapply = config.autoapply}) end end |