summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-06-16 17:47:04 +0300
committerGitHub <noreply@github.com>2019-06-16 17:47:04 +0300
commitab70fb1ac6cd48539285dfaae7d28d29f487d8c3 (patch)
treeac4adda585910b4f445350d8125301306c6762a0
parent1aa13ed51ed1c1b62b1ed296383907d953a62698 (diff)
parent2326a0a4c009756fdd195a03e42bceb0d2246487 (diff)
Merge pull request #2772 from jjm2473/patch-2
luci-app-aria2: fix: datatype
-rw-r--r--applications/luci-app-aria2/luasrc/model/cbi/aria2.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua b/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua
index 9e9df9aa7..d36610b49 100644
--- a/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua
+++ b/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua
@@ -135,7 +135,7 @@ o = s:taboption("task", Value, "max_concurrent_downloads", translate("Max concur
o.placeholder = "5"
o = s:taboption("task", Value, "max_connection_per_server", translate("Max connection per server"), "1-16")
-o.datetype = "range(1, 16)"
+o.datatype = "range(1, 16)"
o.placeholder = "1"
o = s:taboption("task", Value, "min_split_size", translate("Min split size"), "1M-1024M")