X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_network%2Fwifi_overview.htm;h=312fd08654c900f0ebd7066287ef89182ee96ac5;hp=8fb6483770ed2e4761d1e3b3db717a04074f912e;hb=ef444d511d2558e0d4c2ec25c5890b87057b9691;hpb=a7b44a1b4b26df3ab3e60c1c922fd00fd6f858f0 diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm index 8fb648377..312fd0865 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -232,7 +232,7 @@ You may obtain a copy of the License at toggle.title = '<%:Activate this network%>'; } - toggle.setAttribute('active', is_assoc); + toggle.setAttribute('active', !iw.disabled); } var info = document.getElementById(iw.id + '-iw-status');