From: Jo-Philipp Wich Date: Mon, 9 Sep 2019 05:37:35 +0000 (+0200) Subject: luci-base: form.js: store pointer to parent map in modal overlay map X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dab0a11b7357e5a609906e43fc5699b73ee11dfb;p=oweals%2Fluci.git luci-base: form.js: store pointer to parent map in modal overlay map Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 2ea977f4c..6692d52ab 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -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;