diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-11 22:33:34 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-11 22:33:43 +0100 |
commit | ef444d511d2558e0d4c2ec25c5890b87057b9691 (patch) | |
tree | 0f6fe59cc41cd416b12eff692ea8801ed677916d /modules/admin-full/luasrc | |
parent | a7b44a1b4b26df3ab3e60c1c922fd00fd6f858f0 (diff) |
modules/admin-full: make wifi enabling/disabling more reliable
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_network/wifi_overview.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |