applications/luci-ushare: allow multiple content directories
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Sep 2011 00:25:37 +0000 (00:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Sep 2011 00:25:37 +0000 (00:25 +0000)
applications/luci-ushare/luasrc/model/cbi/ushare.lua

index 0e5b6cff6e00735fe481b2061c20bb84f30d0560..cc7377e4a3f2c85190a4106d0cd6b08f0eae7f3a 100644 (file)
@@ -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"))