diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-03 17:28:23 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-03 17:28:23 +0000 |
commit | 371355c0f6f5cd6dfe925b291031bc52363d70ec (patch) | |
tree | 376cb6d4fa7e3690ddee3a849e1c7b5c1a67eba0 | |
parent | 4fcb6d56bcbf6a04801eba10c2f661c8aca41633 (diff) |
modules/admin-full: decouple enable/disable button state from assoc state
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-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 d10ea26841..91d2ff4d92 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -218,7 +218,7 @@ You may obtain a copy of the License at var toggle = document.getElementById(iw.id + '-iw-toggle'); if (toggle) { - if (is_assoc) + if (!iw.disabled) { toggle.className = 'cbi-button cbi-button-reset'; toggle.value = '<%:Disable%>'; |