From bce291e6c9ada6efd8014e48da0ac516f2ef4b00 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Jul 2019 19:09:12 +0200 Subject: [PATCH] luci-base: form.js: reload map data when saving modal forms Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 1 + 1 file changed, 1 insertion(+) 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() {}); -- 2.25.1