Skip to content
Commit 6fe34990 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: form.js: fix GridSection modals in JSONMap instances



Since grid section edit modals construct a new Map instance internally,
we must take care of using the correct map constructor type for the
internal copy in order to end up with the correct data provider.

Ensure that the extended option modal of GridSection instances uses a
JSONMap when the grid section's owner map is a JSONMap to avoid stray
uci related errors.

Ref: https://forum.openwrt.org/t/luci-save-apply/149658/5
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 30fa6bcc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment