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>
Thu, 2 Nov 2023 10:45:16 +0000 (11:45 +0100)
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>
(cherry picked from commit 4c3584bbdc1abe377c4b85099740f61d3213c1c5)

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
 });