summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-11-11 22:33:34 +0100
committerJo-Philipp Wich <jow@openwrt.org>2014-11-11 22:33:43 +0100
commitef444d511d2558e0d4c2ec25c5890b87057b9691 (patch)
tree0f6fe59cc41cd416b12eff692ea8801ed677916d /modules
parenta7b44a1b4b26df3ab3e60c1c922fd00fd6f858f0 (diff)
modules/admin-full: make wifi enabling/disabling more reliable
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/view/admin_network/wifi_overview.htm2
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');