diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 19:09:12 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 19:12:59 +0200 |
commit | bce291e6c9ada6efd8014e48da0ac516f2ef4b00 (patch) | |
tree | 27f98a4b0e0cd05a19f937c8bd68fe90054a0991 /modules/luci-base/htdocs/luci-static | |
parent | f8e6caf5525b802dfbaf150ca3d64f92620b2d50 (diff) |
luci-base: form.js: reload map data when saving modal forms
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 1 |
1 files changed, 1 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 8bb0da4a40..dd7ba6ef60 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1059,6 +1059,7 @@ var CBITableSection = CBITypedSection.extend({ handleModalSave: function(modalMap, ev) { return modalMap.save() + .then(L.bind(this.map.load, this.map)) .then(L.bind(this.map.reset, this.map)) .then(L.ui.hideModal) .catch(function() {}); |