luci-base: form.js: pass-through promise in handleAdd

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-09-04 17:15:13 +02:00
parent 18e6b17911
commit 03f9528847

View file

@ -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(/* ... */) {