From dab0a11b7357e5a609906e43fc5699b73ee11dfb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 9 Sep 2019 07:37:35 +0200 Subject: luci-base: form.js: store pointer to parent map in modal overlay map Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 2ea977f4c7..6692d52abf 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; -- cgit v1.2.3