projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e6b17
)
luci-base: form.js: pass-through promise in handleAdd
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 4 Sep 2019 15:15:13 +0000
(17:15 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000
(15:28 +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 6832a16460afbcac15b03482fbb4a29cb22f4cbd..2ea977f4c7ef43dd1637c16e586c1ac9cd1b7e0d 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/form.js
@@
-1178,8
+1178,8
@@
var CBIGridSection = CBITableSection.extend({
var config_name = this.uciconfig || this.map.config,
section_id = uci.add(config_name, this.sectiontype);
- this.addedSection = section_id;
- this.renderMoreOptionsModal(section_id);
+
this.addedSection = section_id;
+
return
this.renderMoreOptionsModal(section_id);
},
handleModalSave: function(/* ... */) {