luci-base: form.js: store pointer to parent map in modal overlay map
[oweals/luci.git] / 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;