diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-09 07:37:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-10 15:28:16 +0200 |
commit | dab0a11b7357e5a609906e43fc5699b73ee11dfb (patch) | |
tree | 6945b962fe41bd94b7484af697ce0d976868205f /modules/luci-base | |
parent | 03f952884771aa7aef7406cfe6b959b2c684331b (diff) |
luci-base: form.js: store pointer to parent map in modal overlay map
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |