luci-base: firewall.js: don't treat zone name as network fallback
authorJo-Philipp Wich <jo@mein.io>
Mon, 2 Mar 2020 09:08:32 +0000 (10:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 2 Mar 2020 09:12:42 +0000 (10:12 +0100)
commitb01cf695365bbb86f30a211c19b2eda543f4c0ad
treebd83af0a39a8c99e4588d4f00b774f779601054e
parent70b5982b4c55d1f75c5092a8b2dce3c113b425b5
luci-base: firewall.js: don't treat zone name as network fallback

Drop obsolete extra logic which treats the zone name as covered network
name in case the network list is unset. This behaviour applied to the
pre-fw3 uci firewall, but is not supported since fw3 anymore.

Ref: https://forum.openwrt.org/t/luci-zone-creation-bug/55921
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4052436d825e1e78d1734ddd4d06d2291fbc5684)
modules/luci-base/htdocs/luci-static/resources/firewall.js