git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c2d6770
)
luci-base: widgets.js: CBINetworkSelect: honour exclude option
author
Jo-Philipp Wich
<redacted>
Fri, 16 Aug 2019 07:49:11 +0000
(09:49 +0200)
committer
Jo-Philipp Wich
<redacted>
Fri, 16 Aug 2019 07:49:11 +0000
(09:49 +0200)
Signed-off-by: Jo-Philipp Wich <redacted>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
patch
|
blob
|
history
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 2da9e7435ffaa7fd05f347332471e7b5b92a0b24..861d8c8cea51461d30e515c0cc1ac7f336f95158 100644
(file)
--- 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())
git clone https://git.99rst.org/PROJECT