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

@ -1179,7 +1179,7 @@ var CBIGridSection = CBITableSection.extend({
section_id = uci.add(config_name, this.sectiontype);
this.addedSection = section_id;
this.renderMoreOptionsModal(section_id);
return this.renderMoreOptionsModal(section_id);
},
handleModalSave: function(/* ... */) {