projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e6caf
)
luci-base: form.js: reload map data when saving modal forms
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 17:09:12 +0000
(19:09 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 17:12:59 +0000
(19:12 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 8bb0da4a40fd18d319b3e6c34b73ebec9bc8451a..dd7ba6ef605c98bcb86ea6acaf7e4eb013085fac 100644
(file)
--- 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() {});