luci-mod-network: fix creating new interfaces
Fixes: #5646
Fixes: 1c798d1a08
("luci-base: form.js: allow nesting Grid and Table sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
2008ccd699
commit
35df2adaf8
1 changed files with 3 additions and 0 deletions
|
@ -1158,6 +1158,9 @@ return view.extend({
|
|||
protoclass.addDevice(device.formvalue('_new_'));
|
||||
|
||||
m.children[0].addedSection = section_id;
|
||||
|
||||
ui.hideModal();
|
||||
ui.showModal(null, E('p', { 'class': 'spinning' }, [ _('Loading data…') ]));
|
||||
}).then(L.bind(m.children[0].renderMoreOptionsModal, m.children[0], nameval));
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue