git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
819fa18
)
modules/admin-full: Fixes for rdate config
author
Manuel Munz
<redacted>
Sat, 12 Feb 2011 19:30:59 +0000
(19:30 +0000)
committer
Manuel Munz
<redacted>
Sat, 12 Feb 2011 19:30:59 +0000
(19:30 +0000)
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
index f6826c090b998da8f2667692319051e2ebaee1af..d3bec7cc99b5496f8099404aff86f62911869ca1 100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@
-189,10
+189,12
@@
if has_rdate then
s.anonymous = true
s.addremove = true
s.template = "cbi/tblsection"
- s.rmempty = true
- s:option(Value, "hostname", translate("Name"))
+ h = s:option(Value, "hostname", translate("Name"))
+ h.rmempty = true
+ h.datatype = host
i = s:option(ListValue, "interface", translate("Interface"))
+ i.rmempty = true
i:value("", translate("Default"))
m3.uci:foreach("network", "interface",
function (section)
git clone https://git.99rst.org/PROJECT