summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-16 09:49:11 +0200
committerJo-Philipp Wich <jo@mein.io>2019-08-16 09:49:11 +0200
commit24aa675a4638751c50b2fe25c31d28c866c638e7 (patch)
tree92f1bed5cbfeb3f80b78eacc30974c2e4dd4d5c1 /modules/luci-base/htdocs/luci-static
parentc2d6770801b573493887ad24515e855ee61017fe (diff)
luci-base: widgets.js: CBINetworkSelect: honour exclude option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/tools/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
index 2da9e7435..861d8c8ce 100644
--- a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
+++ b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
@@ -358,7 +358,7 @@ var CBINetworkSelect = form.ListValue.extend({
var network = this.networks[i],
name = network.getName();
- if (name == 'loopback' || !this.filter(section_id, name))
+ if (name == 'loopback' || name == this.exclude || !this.filter(section_id, name))
continue;
if (this.novirtual && network.isVirtual())