From ef444d511d2558e0d4c2ec25c5890b87057b9691 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 11 Nov 2014 22:33:34 +0100 Subject: [PATCH] modules/admin-full: make wifi enabling/disabling more reliable Signed-off-by: Jo-Philipp Wich --- modules/admin-full/luasrc/view/admin_network/wifi_overview.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8fb6483770..312fd08654 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'); -- 2.30.2