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
This commit is contained in:
commit
8b46a68078
1 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue