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, 1 Aug 2022 09:57:42 +0000 (11:57 +0200)
commit9780bc01525128ee533f3ddb0d14ffe842477dde
treecfa38159a45c69cdc70102bafc786cbe2e4cc884
parentb556cdf93e21a7cfd0762025d6d3f3930cb017ec
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>
(cherry picked from commit 0c81e25faa9ff9cb6edec477d56145d70be87cf3)
modules/luci-base/htdocs/luci-static/resources/form.js