luci-app-ddns: fix Event Network value source
author冯诚 <fengcheng@lidig.com>
Sat, 23 Mar 2024 04:04:29 +0000 (12:04 +0800)
committerPaul Donald <itsascambutmailmeanyway+github@gmail.com>
Fri, 5 Apr 2024 14:09:19 +0000 (16:09 +0200)
Event Network value source should be NetworkSelect instead of DeviceSelect

Signed-off-by: 冯诚 <fengcheng@lidig.com>
applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js

index 4a234c269ecb12b16308cd49c1ccc7685ab544ef..3234950cd073fc21892edc248b0e8e3e29df45bd 100644 (file)
@@ -856,7 +856,7 @@ return view.extend({
                                        o.depends("ip_source", "script")
                                        o.placeholder = "/path/to/script.sh"
 
-                                       o = s.taboption('advanced', widgets.DeviceSelect, 'interface',
+                                       o = s.taboption('advanced', widgets.NetworkSelect, 'interface',
                                                _("Event Network"),
                                                _("Network on which the ddns-updater scripts will be started"));
                                        o.modalonly = true;