luci-base: form.js: reload map data when saving modal forms
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
f8e6caf552
commit
bce291e6c9
1 changed files with 1 additions and 0 deletions
|
@ -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() {});
|
||||
|
|
Loading…
Reference in a new issue