luci-base: Add missed config parameter for cbi when converting to JSON 3646/head
authorAnton Kikin <a.kikin@tano-systems.com>
Tue, 18 Feb 2020 11:00:01 +0000 (14:00 +0300)
committerAnton Kikin <a.kikin@tano-systems.com>
Tue, 18 Feb 2020 11:00:01 +0000 (14:00 +0300)
commit2d8299338e6c77fb15c457f5cf7f34dc0278db60
treea3be27b81dc5bc85266635f8e9bde14059a90e77
parentbebfe208f7ad4a5531408e56dc08ef2831219d08
luci-base: Add missed config parameter for cbi when converting to JSON

The cbi() function has a second argument 'config' in which various
configuration parameters can be passed. When converting the lua menu
to JSON, we must also convert this parameter.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
modules/luci-base/luasrc/dispatcher.lua