From: Jo-Philipp Wich Date: Sun, 7 Jul 2019 17:09:12 +0000 (+0200) Subject: luci-base: form.js: reload map data when saving modal forms X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bce291e6c9ada6efd8014e48da0ac516f2ef4b00;p=oweals%2Fluci.git luci-base: form.js: reload map data when saving modal forms 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 8bb0da4a4..dd7ba6ef6 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() {});