From: Jo-Philipp Wich Date: Thu, 14 Nov 2019 10:14:36 +0000 (+0100) Subject: luci-app-statistics: iwinfo: fix interface list preselection X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=78a1ff681e57c4216ef556d0505b0d0674f85e8a;p=project%2Fluci.git luci-app-statistics: iwinfo: fix interface list preselection Fixes: #3306 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 52a68a43b8f70236bf8276b065458b51983298f1) --- diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua index 20d9509df8..e3601710ec 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua @@ -12,7 +12,7 @@ s = m:section(NamedSection, "collectd_iwinfo", "luci_statistics") o = s:option(Flag, "enable", translate("Enable this plugin")) o.default = 0 -o = s:option(Value, "Interfaces", translate("Monitor interfaces"), +o = s:option(DynamicList, "Interfaces", translate("Monitor interfaces"), translate("Leave unselected to automatically determine interfaces to monitor.")) o.template = "cbi/network_ifacelist" o.widget = "checkbox"