luci-mod-network: fix creating joining wireless networks
authorJo-Philipp Wich <jo@mein.io>
Fri, 21 Jan 2022 19:31:47 +0000 (20:31 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 21 Jan 2022 19:32:17 +0000 (20:32 +0100)
Fixes: #5651
Fixes: 1c798d1a08 ("luci-base: form.js: allow nesting Grid and Table sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index f94640ee7d1f5b4e4349909dfbe361c6fba4bb9d..e2daf9ebe95a6b53bb6f01d1c75c717957b894fc 100644 (file)
@@ -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));
                };