luci-mod-network: wireless.js: remove form reset button
authorJo-Philipp Wich <jo@mein.io>
Fri, 11 Aug 2023 23:39:25 +0000 (01:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 11 Aug 2023 23:41:12 +0000 (01:41 +0200)
The form reset button on the wireless page has no function as no input
field is present outside of modal configuration views, so drop it to
avoid confusion.

Ref: #6514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index a0997465485ccc85161a287bdf2c3bd7ea782b6d..8155a1585077e363408712062c773edafb21c80d 100644 (file)
@@ -2265,5 +2265,7 @@ return view.extend({
 
                        return E([ nodes, E('h3', _('Associated Stations')), table ]);
                }, this, m));
-       }
+       },
+
+       handleReset: null
 });