summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
diff options
context:
space:
mode:
authorChen Minqiang <ptpt52@gmail.com>2019-11-17 18:19:35 +0800
committerChen Minqiang <ptpt52@gmail.com>2019-11-17 18:51:57 +0800
commit56ed870746ecb16781d2753da643a6df9ee5b4b7 (patch)
treeecc2d133db74f3c2c9647bb7ff8f8a80ba2e4891 /applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
parent4b05da3f7bcad627a06ff09419482269774101f9 (diff)
luci-app-ddns: use the correct widget Select
ip_network should be NetworkSelect ip_interface/interface should be DeviceSelect Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Diffstat (limited to 'applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js')
-rw-r--r--applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
index f19445366c..50066d8d40 100644
--- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
+++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
@@ -640,7 +640,7 @@ return L.view.extend({
// ip_network
- o = s.taboption('advanced', widgets.ZoneSelect, 'ip_network', _("Network"),
+ o = s.taboption('advanced', widgets.NetworkSelect, 'ip_network', _("Network"),
_("Defines the network to read systems IP-Address from"));
o.depends('ip_source','network');
o.modalonly = true;
@@ -659,7 +659,7 @@ return L.view.extend({
// ip_interface
- o = s.taboption('advanced', widgets.ZoneSelect, 'ip_interface', _("Interface"),
+ o = s.taboption('advanced', widgets.DeviceSelect, 'ip_interface', _("Interface"),
_("Defines the interface to read systems IP-Address from"));
o.modalonly = true;
@@ -678,7 +678,7 @@ return L.view.extend({
// interface
- o = s.taboption('advanced', widgets.ZoneSelect, 'interface', _("Event Network"),
+ o = s.taboption('advanced', widgets.DeviceSelect, 'interface', _("Event Network"),
_("Network on which the ddns-updater scripts will be started"));
o.modalonly = true;