diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-18 12:30:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 12:30:35 +0100 |
commit | 8b46a680780b272b414359656500fc79f0989dba (patch) | |
tree | a3be27b81dc5bc85266635f8e9bde14059a90e77 /modules/luci-base | |
parent | bebfe208f7ad4a5531408e56dc08ef2831219d08 (diff) | |
parent | 2d8299338e6c77fb15c457f5cf7f34dc0278db60 (diff) |
Merge pull request #3646 from tano-systems/pr/luci-base-dispatcher-cbi-config
luci-base: Add missed config parameter for cbi when converting to JSON
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/luasrc/dispatcher.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index c227b68c85..118ca221ae 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -193,7 +193,8 @@ local function target_to_json(target, module) elseif target.type == "cbi" then action = { ["type"] = "cbi", - ["path"] = target.model + ["path"] = target.model, + ["config"] = target.config } elseif target.type == "form" then action = { |