luci-base: form.js: reset parent maps on returning from nested section modal
authorJo-Philipp Wich <jo@mein.io>
Mon, 16 May 2022 09:49:28 +0000 (11:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 16 May 2022 11:39:36 +0000 (13:39 +0200)
commit0c81e25faa9ff9cb6edec477d56145d70be87cf3
treee1d9192ec605834287bd9415fbcc2d191ef86c79
parent818776451d96e8f1a187eafca4a5ebbf0770fbde
luci-base: form.js: reset parent maps on returning from nested section modal

The nested section modal might have changed values also covered/displayed by
the parent map, so ensure to reload all parent maps in the current modal
view stack to ensure that no stale values are shown on return.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js