luci-app-ddns: fix Event Network value source

Event Network value source should be NetworkSelect instead of DeviceSelect

Signed-off-by: 冯诚 <fengcheng@lidig.com>
This commit is contained in:
冯诚 2024-03-23 12:04:29 +08:00 committed by Paul Donald
parent a235377490
commit cf6c24fa47

View 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;