diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-02-12 19:30:59 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-02-12 19:30:59 +0000 |
commit | f04acc4b948a45bcfbd22f219df001f96064edf7 (patch) | |
tree | 0eb51123d0b559da4aa7fe375296cceb0001bd75 /modules/admin-full/luasrc/model | |
parent | 819fa18e163ab4f29f5978be80f892b6c883e518 (diff) |
modules/admin-full: Fixes for rdate config
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/system.lua | 6 |
1 files changed, 4 insertions, 2 deletions
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 f6826c090b..d3bec7cc99 100644 --- 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) |