diff options
author | Fanx <fanxjk@gmail.com> | 2024-02-02 15:10:39 +0800 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2024-02-02 20:14:06 +0100 |
commit | 16f4011644b8689fffb0866e2de4e821b2f52d9b (patch) | |
tree | cd8d797eb4db72822fad30ff7b2608902bea650d /applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js | |
parent | faf6c4f0283f14f2fdc95f298d65f11566c1aefa (diff) |
luci-app-smartdns: Fix The list has multiple headers.
Signed-off-by: FanxJK <fanxjk@gmail.com>
Diffstat (limited to 'applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js')
-rw-r--r-- | applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js index 91d7d0964e..191e57e58d 100644 --- a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js +++ b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js @@ -639,21 +639,21 @@ return view.extend({ s.tab('advanced', _('Advanced Settings')); // enable flag; - o = s.taboption("general", form.Flag, "enabled", _("Enable"), _("Enable")); + o = s.taboption("general", form.Flag, "enabled", _("Enable")); o.rmempty = false; o.default = o.enabled; o.editable = true; // name; - o = s.taboption("general", form.Value, "name", _("DNS Server Name"), _("DNS Server Name")); + o = s.taboption("general", form.Value, "name", _("DNS Server Name")); // IP address; - o = s.taboption("general", form.Value, "ip", _("ip"), _("DNS Server ip")); + o = s.taboption("general", form.Value, "ip", _("DNS Server ip")); o.datatype = "or(ipaddr, string)"; o.rmempty = false; // port; - o = s.taboption("general", form.Value, "port", _("port"), _("DNS Server port")); + o = s.taboption("general", form.Value, "port", _("DNS Server port")); o.placeholder = "default"; o.datatype = "port"; o.rempty = true; @@ -662,7 +662,7 @@ return view.extend({ o.depends("type", "tls"); // type; - o = s.taboption("general", form.ListValue, "type", _("type"), _("DNS Server type")); + o = s.taboption("general", form.ListValue, "type", _("DNS Server type")); o.placeholder = "udp"; o.value("udp", _("udp")); o.value("tcp", _("tcp")); @@ -672,7 +672,7 @@ return view.extend({ o.rempty = false; // server group - o = s.taboption("general", form.Value, "server_group", _("Server Group"), _("DNS Server group")) + o = s.taboption("general", form.Value, "server_group", _("DNS Server group")) o.rmempty = true; o.placeholder = "default"; o.datatype = "hostname"; |