luci-app-firewall: consolidate duplicate option code
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Jan 2020 21:13:34 +0000 (22:13 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 28 Jan 2020 17:33:05 +0000 (18:33 +0100)
commit3b60ada020ec45b30cf42199f32ae9fead171cfd
treeef76ad6105db7aac6570a0e52e6aa0727211d3e1
parent65e71b94e3ccddae7ed754242dd8d2ad7a3a0cb4
luci-app-firewall: consolidate duplicate option code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 0608ff09f8a3b4e558c44ec73b1ef62e19666bac)
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js