summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ntpc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-11 17:24:50 +0000
committerSteven Barth <steven@midlink.org>2008-09-11 17:24:50 +0000
commit0eb9e9805caa9c35e48ee54698fe3ce9e25b3542 (patch)
tree21c3dc6e48f9da98ac88f5b667bb953420aa02ab /applications/luci-ntpc
parentecf5ed021f5009e89830ccb14450075eebe089e2 (diff)
luci-ntpc: Fixed option definitions
Diffstat (limited to 'applications/luci-ntpc')
-rw-r--r--applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua6
-rw-r--r--applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
index 2b4e2c23d2..06609e3a0b 100644
--- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
+++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
@@ -19,13 +19,13 @@ s.anonymous = true
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
-s:option(Value, "interval", translate("ntpc_interval"))
-s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc"))
+s:option(Value, "interval", translate("ntpc_interval")).rmempty = true
+s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc")).rmempty = true
s2 = m:section(TypedSection, "ntpdrift", translate("ntpc_drift"))
s2.anonymous = true
-s2:option(Value, "freq", translate("ntpc_drift_freq"))
+s2:option(Value, "freq", translate("ntpc_drift_freq")).rmempty = true
s3 = m:section(TypedSection, "ntpserver", translate("ntpc_timeserver"))
diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua
index ecb098ab36..3493e03173 100644
--- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua
+++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua
@@ -20,7 +20,7 @@ s.anonymous = true
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
-s:option(Value, "interval", translate("ntpc_interval"))
+s:option(Value, "interval", translate("ntpc_interval")).rmempty = true
s3 = m:section(TypedSection, "ntpserver", translate("ntpc_timeserver"))