From 1d599a7d886cb1f30a30a01330dcb612b601e408 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 16 Jun 2019 18:04:18 +0300 Subject: [PATCH] treewide: fix datetype/datatype typo Fix the "datetype" typo also in 18.06 Signed-off-by: Hannu Nyman --- applications/luci-app-aria2/luasrc/model/cbi/aria2.lua | 2 +- .../luasrc/model/cbi/rp-pppoe-server.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua b/applications/luci-app-aria2/luasrc/model/cbi/aria2.lua index 3b61f9546..93a25de08 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") diff --git a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua index ef15ed612..e49835999 100644 --- a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua +++ b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua @@ -27,7 +27,7 @@ o.optional = true o.datatype = "uinteger" o = s:option(Value, "localip", translate("IP of listening side")) -o.datetype = "ipaddr" +o.datatype = "ipaddr" o = s:option(Value, "firstremoteip", translate("First remote IP")) o.datatype = "ipaddr" -- 2.25.1