mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 17:46:19 +04:00
luci-mod-status: fix WPS button to wrong interface
Reset the WPS_button variable to correctly add the button to the enabled interface. Fixes: #4625 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ return baseclass.extend({
|
||||
else
|
||||
icon = L.resource('icons/signal-75-100.png');
|
||||
|
||||
var WPS_button;
|
||||
var WPS_button = null;
|
||||
|
||||
if (this.isWPSEnabled[net.sid]) {
|
||||
if (net.wps_status == 'Active') {
|
||||
|
||||
Reference in New Issue
Block a user