luci-base: form.js: pass-through promise in handleAdd
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
18e6b17911
commit
03f9528847
1 changed files with 2 additions and 2 deletions
|
@ -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(/* ... */) {
|
||||
|
|
Loading…
Reference in a new issue