diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-16 09:49:11 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-16 09:49:11 +0200 |
commit | 24aa675a4638751c50b2fe25c31d28c866c638e7 (patch) | |
tree | 92f1bed5cbfeb3f80b78eacc30974c2e4dd4d5c1 /modules | |
parent | c2d6770801b573493887ad24515e855ee61017fe (diff) |
luci-base: widgets.js: CBINetworkSelect: honour exclude option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/tools/widgets.js | 2 |
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()) |