luci-app-sqm: fix missing interface in selection
authorAnsuel Smith <ansuelsmth@gmail.com>
Sun, 25 Oct 2020 13:40:49 +0000 (14:40 +0100)
committerToke Høiland-Jørgensen <toke@toke.dk>
Sun, 25 Oct 2020 13:46:36 +0000 (14:46 +0100)
Show device instead of interface in interface selection.

Fixes: #4539
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js

index c60e00b401452aa7492f9a2a07133e0de51f3d60..a9d99d5f6cdb2c9b7893f55ef98e3c3839c3c284 100644 (file)
@@ -68,7 +68,7 @@ return view.extend({
                        return uci.set("sqm", section, "enabled", value);
                }, this);
 
-               o = s.taboption("tab_basic", widgets.NetworkSelect, "interface", _("Interface name"));
+               o = s.taboption("tab_basic", widgets.DeviceSelect, "interface", _("Interface name"));
                o.rmempty = false;
 
                o = s.taboption("tab_basic", form.Value, "download", _("Download speed (kbit/s) (ingress) set to 0 to selectively disable ingress shaping:"));