From: Chen Minqiang Date: Sun, 17 Nov 2019 10:19:35 +0000 (+0800) Subject: luci-app-ddns: use the correct widget Select X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F3323%2Fhead;p=oweals%2Fluci.git luci-app-ddns: use the correct widget Select ip_network should be NetworkSelect ip_interface/interface should be DeviceSelect Signed-off-by: Chen Minqiang --- 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 f19445366..50066d8d4 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;