diff options
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 82b7695e45..ab0998943c 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1067,6 +1067,10 @@ var CBITableSection = CBITypedSection.extend({ .catch(function() {}); }, + addModalOptions: function(modalSection, section_id, ev) { + + }, + renderMoreOptionsModal: function(section_id, ev) { var parent = this.map, title = parent.title, @@ -1111,7 +1115,7 @@ var CBITableSection = CBITypedSection.extend({ } //ev.target.classList.add('spinning'); - m.render().then(L.bind(function(nodes) { + Promise.resolve(this.addModalOptions(s, section_id, ev)).then(L.bind(m.render, m)).then(L.bind(function(nodes) { //ev.target.classList.remove('spinning'); L.ui.showModal(title, [ nodes, |