From: Jo-Philipp Wich Date: Mon, 26 Sep 2011 00:25:37 +0000 (+0000) Subject: applications/luci-ushare: allow multiple content directories X-Git-Tag: 0.11.0~1693 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fa52f7f54bfb33297b6cb1af530d3d2b22350a85;p=project%2Fluci.git applications/luci-ushare: allow multiple content directories --- diff --git a/applications/luci-ushare/luasrc/model/cbi/ushare.lua b/applications/luci-ushare/luasrc/model/cbi/ushare.lua index 0e5b6cff6e..cc7377e4a3 100644 --- a/applications/luci-ushare/luasrc/model/cbi/ushare.lua +++ b/applications/luci-ushare/luasrc/model/cbi/ushare.lua @@ -31,7 +31,7 @@ for _, nif in ipairs(luci.sys.net.devices()) do if nif ~= "lo" then dif:value(nif) end end -s:option(Value, "content_directories", translate("Content directories")) +s:option(DynamicList, "content_directories", translate("Content directories")) s:option(Flag, "disable_webif", translate("Disable webinterface"))