From 433db83c655a0984c584dfad175370588c308e06 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 21 Jan 2022 20:31:47 +0100 Subject: luci-mod-network: fix creating joining wireless networks Fixes: #5651 Fixes: 1c798d1a08 ("luci-base: form.js: allow nesting Grid and Table sections") Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/wireless.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/luci-mod-network') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index f94640ee7d..e2daf9ebe9 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1965,6 +1965,8 @@ return view.extend({ }); }); }).then(L.bind(function() { + ui.showModal(null, E('p', { 'class': 'spinning' }, [ _('Loading data…') ])); + return this.renderMoreOptionsModal(section_id); }, this)); }; -- cgit v1.2.3