luci-base: form.js: store pointer to parent map in modal overlay map
authorJo-Philipp Wich <jo@mein.io>
Mon, 9 Sep 2019 05:37:35 +0000 (07:37 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js

index 2ea977f4c7ef43dd1637c16e586c1ac9cd1b7e0d..6692d52abf7c962be10242d747b3099ef68fa4fa 100644 (file)
@@ -1115,6 +1115,8 @@ var CBITableSection = CBITypedSection.extend({
                    m = new CBIMap(this.map.config, null, null),
                    s = m.section(CBINamedSection, section_id, this.sectiontype);
 
+               m.parent = parent;
+
                s.tabs = this.tabs;
                s.tab_names = this.tab_names;