From: Steven Barth Date: Tue, 16 Sep 2008 10:08:28 +0000 (+0000) Subject: admin-full: Override UVL values for mode field X-Git-Tag: 0.9.0~1278 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51c5827d75f91b74ef1a6e55f922c9b5604e61d7;p=oweals%2Fluci.git admin-full: Override UVL values for mode field --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index 0f99c6ec0..cbc30d5c3 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -134,6 +134,7 @@ end mode = s:option(ListValue, "mode", translate("mode")) +mode.override_values = true mode:value("ap", translate("a_w_ap")) mode:value("adhoc", translate("a_w_adhoc")) mode:value("sta", translate("a_w_client"))