luci-app-watchcat: change interface selection to device
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 22 Mar 2021 07:21:24 +0000 (08:21 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 22 Mar 2021 07:21:24 +0000 (08:21 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js

index 5763f89fe360765c811b2b3628e2ff76ea83f59d..c3863604f0bed68473a2af2b046fdf8503735db1 100644 (file)
@@ -76,7 +76,7 @@ return view.extend({
                o.depends({ mode: 'ping_reboot' });
                o.depends({ mode: 'periodic_reboot' });
 
-               o = s.taboption('general', widgets.NetworkSelect, 'interface',
+               o = s.taboption('general', widgets.DeviceSelect, 'interface',
                        _('Interface'),
                        _('Interface to monitor and/or restart'),
                        _('<i>Applies to Ping Reboot and Restart Interface modes</i> <br /> Specify the interface to monitor and restart if a ping over it fails.'));